![]() | NetHelper Class |
Namespace: Neon.Net
The NetHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | DnsHostRegex |
Regex for verifying DNS hostnames.
|
Name | Description | |||
---|---|---|---|---|
![]() ![]() | AddressEquals |
Determines whether two IP addresses are equal.
| ||
![]() ![]() | AddressIncrement |
Increments an IPv4 address by adding an integer value.
| ||
![]() ![]() | AddressToUint |
Converts an IPv4 address into a32-bit unsigned integer equivalent.
| ||
![]() ![]() | ComputeMSS |
Computes the TCP maximum segment size for a given MTU, optionally taking a
VXLAN wrapper headers into account.
| ||
![]() ![]() | GetReachableHost |
Pings one or more hostnames or IP addresses in parallel to identify one that
appears to be online and reachable via the network (because it answers a ping).
| ||
![]() ![]() | GetReachableHosts |
Pings one or more hostnames or IP addresses in parallel to identify those that
appear to be online and reachable via the network (because it answers a ping).
| ||
![]() ![]() | GetRoutableIpAddress |
Returns a routable (non-loopback) IPv4 address for the current machine.
| ||
![]() ![]() | GetUnusedIpPort |
Returns a free TCP/UDP port for a local IP address.
| ||
![]() ![]() | IsValidHost |
Verifies that a string is a valid DNS hostname.
| ||
![]() ![]() | IsValidPort |
Determines whether an integer is a valid network port number.
| ||
![]() ![]() | ListLocalHostsSections |
Lists the names of the local host sections.
| ||
![]() ![]() | ModifyLocalHosts | Used to temporarily modify the hosts file used by the DNS resolver for debugging or other purposes.
| ||
![]() ![]() | ParseIPv4Address |
Parses an IPv4 address.
| ||
![]() ![]() | ParseIPv4Endpoint |
Parses an IPv4 endpoint from a string.
| ||
![]() ![]() | ParseIPv6Address |
Parses an IPv6 address.
| ||
![]() ![]() | TryParseIPv4Address |
Attempts to parse an IPv4 address.
| ||
![]() ![]() | TryParseIPv4Endpoint |
Attempts to parse an IPv4 network endpoint.
| ||
![]() ![]() | TryParseIPv6Address |
Attempts to parse an IPv4 address.
| ||
![]() ![]() | UintToAddress |
Converts an unsigned 32-bit integer into an IPv4 address.
|