TransportAddress Methods |
The TransportAddress type exposes the following members.
Name | Description | |
---|---|---|
CheckMask |
Compares two addresses to see if they are on
the same subnet.
| |
Equals |
Determines whether the specified object is equal to this instance.
(Overrides ObjectEquals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode |
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.) | |
GetType | (Inherited from Object.) | |
IsAny |
Determines whether the specified IP address is all zeros
and represents "any" IP address.
| |
IsIPAddress |
Determines whether a string is a valid IPv4 or IPv6 address
| |
IsLinkLocal |
Determines whether the specified IP address is link-local.
| |
IsLoopback |
Determines whether the specified IP address is loopback.
| |
IsPrivate |
Determines whether the specified IP address is private.
| |
IsReserved |
Determines whether the specified IP address is reserved.
| |
MaskFromPrefixLength |
Gets a subnet mask from a prefix length (0-32).
| |
MemberwiseClone | (Inherited from Object.) | |
SanitizeIPAddress |
Sanitizes the IP address, removing any local information.
| |
ToString |
Returns a string that represents this instance.
(Overrides ObjectToString.) |