The EthernetAddress type exposes the following members.

Properties

  NameDescription
Public propertyIsHex
Return true if OctetString contains non-printable characters, otherwise return false.
(Inherited from OctetString.)
Public propertyItem
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.)
Public propertyLength
Get length of the internal byte array. 0 if byte array is undefined or zero length.
(Inherited from OctetString.)
Public propertyType
Get ASN.1 value type stored in this class.
(Inherited from AsnType.)

See Also