|
TransportIsLocalAddress Method
|
Determines if an IP address (or DNS name) is a local IP address.
Namespace: GSF.CommunicationAssembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.205-beta
Syntax public static bool IsLocalAddress(
string hostNameOrAddress
)
Public Shared Function IsLocalAddress (
hostNameOrAddress As String
) As Boolean
public:
static bool IsLocalAddress(
String^ hostNameOrAddress
)
static member IsLocalAddress :
hostNameOrAddress : string -> bool
GSF.Communication.Transport.IsLocalAddress = function(hostNameOrAddress);
View SourceParameters
- hostNameOrAddress String
- DNS name or IP address to test.
Return Value
Booleantrue if
hostNameOrAddress is a local IP address; otherwise
false.
Exceptions See Also