NetworkAdapter

The current C# binding defines NdisApiDotNet.NetworkAdapter, returned by NdisApi.GetNetworkAdapters(). The historical C++/CLI binding defines a separate NdisApi.NetworkAdapter class. Both represent a Windows network adapter bound to the Windows Packet Filter driver; their MAC-address property names differ.

Properties

ValueCurrent C# bindingHistorical C++/CLI binding
Native adapter handle used in filtering operationsHandleHandle
System device nameNameName
User-friendly adapter nameFriendlyNameFriendlyName
Current MAC address (System.Net.NetworkInformation.PhysicalAddress)PhysicalAddressCurrentAddress
NDIS mediumMediumMedium
Maximum transmission unit size in bytesMtuMtu

For modern .NET projects, obtain NdisApiDotNet from the official C# source repository. See the .NET interface guide for build and project-reference instructions. The historical C++/CLI class is defined in ndisapicl.h.