- family
- The addressing scheme to look for.
- index
- The index.
Visual Basic (Declaration) | |
---|---|
Public Shared Function getIPAddresses( _ ByVal family As AddressFamily, _ ByVal index As Integer _ ) As IPAddress |
Visual Basic (Usage) | Copy Code |
---|---|
Dim family As AddressFamily Dim index As Integer Dim value As IPAddress value = Iphlpapi.getIPAddresses(family, index) |
C# | |
---|---|
public static IPAddress getIPAddresses( AddressFamily family, int index ) |
Managed Extensions for C++ | |
---|---|
public: static IPAddress* getIPAddresses( AddressFamily family, int index ) |
C++/CLI | |
---|---|
public: static IPAddress^ getIPAddresses( AddressFamily family, int index ) |
Parameters
- family
- The addressing scheme to look for.
- index
- The index.
Return Value
The IPAddress at the specified index.IPAddress on the machine are stored as indexes. This method will retieve the adapter at the specified index.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7