The IpAddress type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Append | Overloaded. | |
| BuildMaskFromBits |
Build a subnet mask from bit count value
| |
| Clone | Clone current object. (Overrides OctetString..::.Clone()()().) | |
| CompareTo | Overloaded. | |
| decode | Decode ASN.1 encoded IP address value. (Overrides OctetString..::.decode(array<Byte>[]()[], Int32).) | |
| encode | BER encode OctetString variable. (Inherited from OctetString.) | |
| Equals |
Compare 2 IpAddress objects.
(Overrides OctetString..::.Equals(Object).) | |
| FieldGetter | (Inherited from Object.) | |
| FieldSetter | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetBroadcastAddress |
Returns broadcast address for the objects IP and supplied subnet mask
| |
| GetClass |
Return network class of the IP address
| |
| GetFieldInfo | (Inherited from Object.) | |
| GetHashCode |
Return hash representing the value of this object
(Overrides OctetString..::.GetHashCode()()().) | |
| GetMaskBits |
Returns number of subnet bits in the mask.
| |
| GetSubnetAddress |
Return subnet address of the IP address in this object and supplied subnet mask
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Increment |
Increment IP address contained in the object by specific number and return the result as a new
class.
| |
| Invert |
Inverts IP address value. All 0s are converted to 1s and 1s to 0s
| |
| IsValidMask |
Checks if the value of the object is a valid subnet mask
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NetworkMask |
Returns network mask for the class value
| |
| Reset |
Reset internal buffer to null.
(Inherited from OctetString.) | |
| ReverseByteOrder |
Reverse int value byte order. Static function in IPAddress class doesn't work
the way I expected it (didn't troubleshoot)
| |
| Set | Overloaded. | |
| ToArray |
Convert the OctetString class to a byte array. Internal class data buffer is *copied* and not passed to the caller.
(Inherited from OctetString.) | |
| ToHexString |
Return string formatted hexadecimal representation of the objects value.
(Inherited from OctetString.) | |
| ToMACAddressString | Utility function to print a MAC address (binary string of 6 byte length. (Inherited from OctetString.) | |
| ToString | Returns the application string as a dotted decimal represented IP address. (Overrides OctetString..::.ToString()()().) | |
| ToUInt32 |
Network byte order IP address
|
Operators
| Name | Description | |
|---|---|---|
| Explicit | Allow explicit cast of the class as System.Net.IPAddress class. |