views:

343

answers:

1

Hi,

i want to change the DNS IP Address programmatically to the Adapter on Compact Framework. I have checked in the NetworkInterface class of OpenNetCF 2.3 as well, but i do not want the device to be rebooted after setting.

Could somebody throw a light on the please ?

Thanks in advance,

Sathya

A: 

Try to p/invoke NdisRegisterAdapter. Here are a couple of links to help with that:

http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/3281c24c-1842-4b0c-8f3a-80a993cfa023

http://msdn.microsoft.com/en-us/library/ms892892.aspx

Scott Anderson