Returns the Media Access Control (MAC) address for this adapter.
| C# | Visual Basic |
public PhysicalAddress GetPhysicalAddress()
Public Function GetPhysicalAddress As PhysicalAddress
A PhysicalAddress object that contains the physical address.
The object returned by this method contains an address that is appropriate to the media used to transport data at the data link layer.
For example, on an Ethernet network, this method returns the Ethernet address.
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile Version 5.0 and later |
| Windows Embedded Compact | Windows CE .NET 4.1 and later |