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 20.0.2020.5.27
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly