Namespace:  NdisApi
Assemblies: ndisapi.dll

.NET wrapper class for the PACKET_OID_DATA used to set/query information via NDIS_REQUEST.


public IntPtr Adapter { get; set; }
The adapter’s handle value for set/query operation.

public UInt32 Oid { get; set; }
This is a numeric identifier that indicates the type of query/set function to perform on the adapter through the PacketRequest function. Possible values are defined in the ntddndis.h include file. It can be used, for example, to retrieve the status of the error counters on the adapter, its MAC address, the list of the multicast groups defined on it, and so on.

public byte[] Data { get; set; }
Data buffer to pass or receive information from the network interface.