Click or drag to resize
MacAddress Class
Represents a 48-bit MAC address.
Inheritance Hierarchy
SystemObject
  Network.Sim.LinkMacAddress

Namespace: Network.Sim.Link
Assembly: Network.Sim (in Network.Sim.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class MacAddress

The MacAddress type exposes the following members.

Constructors
  NameDescription
Public methodMacAddress
Initializes a new instance of the MacAddress class, generating a random 6-byte MAC address.
Public methodMacAddress(Byte)
Initializes a new instance of the MacAddress class using the specified byte array.
Public methodMacAddress(String)
Initializes a new instance of the MacAddress class using the specified string.
Top
Properties
  NameDescription
Public propertyBytes
The MAC address as an array of bytes.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to this MacAddress instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code of this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a textual representation of this instance.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether the specified MacAddress objects are equal.
Public operatorStatic memberInequality
Determines whether the specified MacAddress objects are unequal.
Top
See Also