Provides the Media Access Control (MAC) address for a network interface (adapter).
| C# | Visual Basic |
public class PhysicalAddress
Public Class PhysicalAddress
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| PhysicalAddress(array<Byte>[]()[]) |
Initializes a new instance of the PhysicalAddress class.
| |
| Equals(Object) |
Compares two PhysicalAddress instances.
(Overrides Object.Equals(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.) | |
| GetAddressBytes()()() |
Returns the address of the current instance.
| |
| GetHashCode()()() | ||
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| None |
Returns a new PhysicalAddress instance with a zero length address.
| |
| Parse(String) |
Parses the specified String and stores its contents as the address bytes of the PhysicalAddress returned by this method.
| |
| ToString()()() |
Returns the String representation of the address of this instance.
(Overrides Object.ToString()()().) |
The MAC address, or physical address, is a hardware address that uniquely identifies each node, such as a computer or printer, on a network.
Instances of this class are returned by the GetPhysicalAddress()()() method.
| Object | |
| PhysicalAddress | |
[!:System.Net.NetworkInformation.PhysicalAddress]