Possible Duplicate:
Request UAC Elevation c#
In my application, I need to save a file to the programs directory, which requires the administrator privileges. How can I prompt the user to ask for such permission, for example with the usual windows’ dialogbox?
In case you don’t know how to set these rights, you might want to check out this post:
Set administrative rights C#