Question : How to edit DNS, ALT DNS

Hello Experts,

How can I edit DNS and ALT DNS of my LAN card [TCP/IP Properties] through a program written in C# 2.0?

I have one Admin User and one General User in my computer running on Windows XP. I cannot access the network properties from General User's login.

I want to write a program which should run from General User's login and simply provide the option to modify the DNS and ALt DNS of the LAN Card.

Can anyone help me on how to do it? I suppose I need to use System.net namespace?

Please guide me with the code or code reference.

Thanks/Regards,
Suman Ghosh

Answer : How to edit DNS, ALT DNS

PAQed with points refunded (500)

Computer101
Community Support Moderator
Random Solutions  
 
programming4us programming4us