Click or drag to resize

TransportAddress Methods

The TransportAddress type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckMask
Compares two addresses to see if they are on the same subnet.
Public methodEquals
Determines whether the specified object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberIsAny
Determines whether the specified IP address is all zeros and represents "any" IP address.
Public methodStatic memberIsIPAddress
Determines whether a string is a valid IPv4 or IPv6 address
Public methodStatic memberIsLinkLocal
Determines whether the specified IP address is link-local.
Public methodStatic memberIsLoopback
Determines whether the specified IP address is loopback.
Public methodStatic memberIsPrivate
Determines whether the specified IP address is private.
Public methodStatic memberIsReserved
Determines whether the specified IP address is reserved.
Public methodStatic memberMaskFromPrefixLength
Gets a subnet mask from a prefix length (0-32).
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberSanitizeIPAddress
Sanitizes the IP address, removing any local information.
Public methodToString
Returns a string that represents this instance.
(Overrides ObjectToString.)
Top
See Also