The IpAddress type exposes the following members.

Properties

  NameDescription
Item
Indexed access to the OctetString class data members.
CopyC#
OctetString os = new OctetString("test");
for(int i=0;i<=os.Length;i++) {
 Console.WriteLine("{0}",os[i]);
}
(Inherited from OctetString.)
Length
Get length of the internal byte array. 0 if byte array is undefined or zero length.
(Inherited from OctetString.)
Type
Return ASN.1 type of the object stored in this or derived class.
(Inherited from AsnType.)
Valid
Returns true if object contains a valid IP address value.

See Also