GetBestHostIpEx Method

Summary
Gets the best host IP address that has the best route to the specified destination IPv4 or IPv6 address.
Syntax
C#
C++/CLI
public static IPAddress GetBestHostIpEx( 
   string destIp 
) 
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 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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