GetBestHostIpEx Method

Summary
Gets the best host IP address that has the best route to the specified destination IPv4 or IPv6 address.
Syntax
C#
VB
C++
public static IPAddress GetBestHostIpEx( 
   string destIp 
) 
  
Public Shared Function GetBestHostIpEx( _ 
   ByVal destIp As String _ 
) As IPAddress 
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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.