1

I wonder if it possible to change my network adapter advanced settings with c#, i mean this settings:

enter image description here

what i want to change is the TCP and UDP Checksum offload to disable

user2214609
  • 4,713
  • 9
  • 34
  • 41
  • 1
    Have you looked at http://stackoverflow.com/questions/209779/how-can-you-change-network-settings-ip-address-dns-wins-host-name-with-code – Vadim Aug 25 '13 at 12:26
  • Under Windows 8 / Server 2k12, you could invoke the PowerShell cmdlet [`Disable-NetAdapterChecksumOffload`](http://technet.microsoft.com/en-us/library/jj130902.aspx). – Richard Aug 25 '13 at 12:28
  • I cannot find the option to change is the TCP and UDP Checksum offload to disable – user2214609 Aug 25 '13 at 13:38
  • There is no option to change the Checksum Offload through the CIM [`ManagementClass`](http://msdn.microsoft.com/en-us/library/system.management.managementclass.aspx). Your options seem to be the PS cmdlet (under Windows 8) or to edit the [registry](http://msdn.microsoft.com/en-us/library/windows/hardware/ff571012%28v=vs.85%29.aspx) directly. To disable both TCP and UDP offloading via PS, run: `Disable-NetAdapterChecksumOffload -InterfaceDescription "Intel(R) 82579LM Gigabit Network Connection"` – Richard Aug 25 '13 at 21:39
  • Can i have an code example how to change the registry via c# ? – user2214609 Aug 26 '13 at 13:42

0 Answers0