LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
getIPAddresses Method
See Also 
Leadtools.Dicom.AddIn Namespace > Iphlpapi Class : getIPAddresses Method



family
The addressing scheme to look for.
index
The index.
family
The addressing scheme to look for.
index
The index.
Gets the IP addresses with the specified AddressFamily and index.

Syntax

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
)
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.

Remarks

IPAddress on the machine are stored as indexes. This method will retieve the adapter at the specified index.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features