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



destIp
The destination IPAddress.
destIp
The destination IPAddress.
Gets the best host IP address that has the best route to the specified destination IPv4 or IPv6 address.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetBestHostIpEx( _
   ByVal destIp As String _
) As IPAddress
Visual Basic (Usage)Copy Code
Dim destIp As String
Dim value As IPAddress
 
value = AddInUtils.GetBestHostIpEx(destIp)
C# 
public static IPAddress GetBestHostIpEx( 
   string destIp
)
C++/CLI 
public:
static IPAddress^ GetBestHostIpEx( 
   String^ destIp
) 

Parameters

destIp
The destination IPAddress.

Return Value

The best IPAddress to reach the destination.

Remarks

This method uses the Windows SDK function GetBestInterfaceEx to get the best route.

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