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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.