control from C# program if another program needs an administrator rights

Jan 26, 2010 at 7:38 AM

I have my program. which is written in C#.

I need to control within my program, if another exe file ( setup ) needs an administrator rights??

( It is only needed in Windows Vista and Windows 7, because of UAC )

Is it possible to do with AUC Helpers?? I looked at UserAccountControl class

and seems, that there isn't this possibility, but anyway it's better to ask..

Please help! :)