Possible Duplicate:
How can you change Network settings (IP Address, DNS, WINS, Host Name) with code in C#
Developing a program(C#/ winForm) that can change the ip and dns setting with a limited user account.
Inititally, My Program is developed based on the following Code Project example: SwitchNetConfig - Laptop users, quickly switch network and proxy configuration in different places
However, I find that this program won't work under a limited user account due to privilege problems
After doing some researches, I know that I can implement this function by
- building & installing the service [runs under the LocalSystem account]
- creating a small client that can be run in limited user mode that would command the service to change the IP and dns setting.
[Idea comes from: IP Address change with limited account ]
However, I still do not have any idea about how to how to communicate with service and command the service to change the IP and dns setting according to the input from the user [ in a winForm Program].
I would appreciate it if you could share some ideas or examples with me.