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
| Value | Current C# binding | Historical C++/CLI binding |
|---|---|---|
| Native adapter handle used in filtering operations | Handle | Handle |
| System device name | Name | Name |
| User-friendly adapter name | FriendlyName | FriendlyName |
Current MAC address (System.Net.NetworkInformation.PhysicalAddress) | PhysicalAddress | CurrentAddress |
| NDIS medium | Medium | Medium |
| Maximum transmission unit size in bytes | Mtu | Mtu |
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.