The EthernetAddress type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EthernetAddress | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Append | Overloaded. | |
| Clone | Create a new object that is a duplicate of the
current object.
(Overrides OctetString..::.Clone()()().) | |
| decode |
Decode OctetString from the BER format.
(Inherited from OctetString.) | |
| encode | BER encode OctetString variable. (Inherited from OctetString.) | |
| Equals |
Compare against another object. Acceptable object types are OctetString and
String.
(Inherited from OctetString.) | |
| 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.) | |
| GetFieldInfo | (Inherited from Object.) | |
| GetHashCode |
Dummy override to prevent compiler warning messages.
(Inherited from OctetString.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Reset |
Reset internal buffer to null.
(Inherited from OctetString.) | |
| 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 |
Return Ethernet MAC address as a string formatted as: xxxx.xxxx.xxxx
(Overrides OctetString..::.ToString()()().) |
Fields
Properties
| Name | Description | |
|---|---|---|
| Item |
Indexed access to the OctetString class data members.
(Inherited from OctetString.)OctetString os = new OctetString("test"); for(int i=0;i<=os.Length;i++) { Console.WriteLine("{0}",os[i]); } | |
| 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.) |