windowsdriverwindows-kernelnetwork-driver

How to programmatically change the parameters of Windows NIC driver?


I need to write the code to set MTU size, RX/TX Queue size, and Interrupt moderation mode. Can you please suggest what API could be used for such purposes?


Solution

  • you can use SetMtu Function of Win32_NetworkAdapterConfiguration class in WMI