TransportIsLocalAddress Method
Determines if an IP address (or DNS name) is a local IP address. Method could fail if machine has DNS issues.
Namespace: Gemstone.CommunicationAssembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.147 -- Release Build+c4816753a7b0123e84413f8c19e7abd18c8e4cd0
public static bool IsLocalAddress(
string hostNameOrAddress
)
Public Shared Function IsLocalAddress (
hostNameOrAddress As String
) As Boolean
public:
static bool IsLocalAddress(
String^ hostNameOrAddress
)
Gemstone.Communication.Transport.IsLocalAddress = function(hostNameOrAddress);
- hostNameOrAddress String
- DNS name or IP address to test.
Booleantrue if
hostNameOrAddress is a local IP address; otherwise
false.