public sealed class UtilNetwork
Public NotInheritable Class UtilNetwork
Dim instance As UtilNetwork
public ref class UtilNetwork sealed
[<SealedAttribute>]
type UtilNetwork = class end
No code example is currently available or this language may not be supported.
IsNetworkAvailable | Gets a value indicating whether at least one of the current network adapters is capable of connecting to Internet. |
NetworkInterfaceNames | Gets the current network interface names. |
TcpConnctions | Gets the active TCP connctions. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GenerateRandomIpv4 | Generates a random IPv4 value. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetPublicIP | Gets the public IP address of the current machine. |
GetType | Gets the Type of the current instance. (Inherited from Object) |
HostnameToIp | Gets the IP addresses that are associated to a hostname. |
IpToHostName | Gets the hostname that is associated to the specified IP address. |
Ping | Pings the specified address or hostname to determine whether a remote computer is accessible over the network. |
PortScan | Scans for a open port on the specified IP address. |
PortScanRange | Scans for open ports in a range of port numbers on the specified IP address. |
ToString | Returns a string that represents the current object. (Inherited from Object) |
ValidateIp | Validates a IP address. |
NetworkStatusChanged | Occurs when the state of Internet connectivity changes. |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |