# Functions
BuildInetSocketAddress builds InetSocketAddress.
CheckPortOpen checks if the specified host and port are open.
CheckPortRangeOpen checks which ports are open in the specified host and port range.
GetAllNetworkInterfaces gets information about all network interfaces.
GetHostname gets the local hostname.
GetIPByHost gets IP by domain name.
GetLocalIP gets the first non-loopback IP address of the local machine.
GetMACAddress gets the first MAC address of the local machine.
GetPublicIP gets the public IP address.
HideIPPart hides the last part of an IP address and replaces it with *.
IPv4ToLong converts an IP address to a long value.
IsInner determines whether the long value of an IP is within the specified range.
IsInnerIP determines whether it is an internal IP.
IsUsableLocalPort checks if a local port is usable.
IsValidIP checks if the given string is a valid IP address.
IsValidPort checks if it is a valid port number.
LocalIPv4s gets a list of IP addresses of the local machine.
LongToIPv4 converts a long value to an IPv4 address.
LookupMX looks up the MX records for the specified domain name.
Ping performs a ping operation to check if the target host is reachable.
ResolveDomain resolves a domain name and returns the corresponding list of IP addresses.
ToAbsoluteURL converts a relative URL to an absolute URL.