TheNetworkInfo Methods
The TheNetworkInfo type exposes the following members.
Methods
Name | Description | |
---|---|---|
cdeGetHostEntry |
Returns the IPHostEntry of a given host name
|
|
cdeGetHostName |
Returns the host name of the hosting hardware
|
|
Equals(System.Object) | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetExternalIp |
Returns the external IP of this hosting hardware by making a reverse lookup via checkip.dyndns.org
|
|
GetFreePort |
Finds a free socket port in the given range on a given IP Address
|
|
GetHashCode | (Inherited from Object.) | |
GetIPAddress(Boolean) |
Returns an IP address of the host hardware
|
|
GetIPAddress(String) |
Returns an IP Address starting with a given scheme
|
|
GetIPAddresses |
Refreshes the table of IP addresses
|
|
GetLocalAddresses |
Returns all iP addresses of this host hardware
|
|
GetMACAddress |
Gets the mac address of the primary network adapter.
|
|
GetType | (Inherited from Object.) | |
IsConnectedToInternet |
Checks if this relay has a direct connection to the internet
Do not call too frequent as this function is sending a ping to a wellknown internet Address
|
|
IsIPInLocalSubnet |
returns true if the IP address given is an intranet address
|
|
IsPrivateIP |
returns true if the given IP address is a local/private IP
|
|
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |