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?