GetBestInterface

Top  Previous  Next

GetBestInterface(RemoteIP: String): String; - Delphi syntax

string GetBestInterface(string RemoteIP); - C# syntax

GetBestInterface(RemoteIP As String) As String; - VB.NET syntax

 

Description

 

This method tries to determine the best IP interface for communication with remote host. The  'RemoteIP' parameter is the IP (NOT host name) of remote host.

 

Please be aware - this method is useful for REMOTE hosts - not for local interfaces.