7
7h3D4rkKn1gh7
Guest
Hi,
I learned recently how ensure my application always run on my local system with administrator privileges by adding an app.manifest file to my project in Visual Studio. And this is a decent solution.
But I would rather just do it in my C# code and I could do it rather quickly by only elevating privileges for certain function calls that need those extra administrator privileges. I think this sounds a job for impersonating an administrator but if I could get some more expert guidance it would be very helpful.
Continue reading...
I learned recently how ensure my application always run on my local system with administrator privileges by adding an app.manifest file to my project in Visual Studio. And this is a decent solution.
But I would rather just do it in my C# code and I could do it rather quickly by only elevating privileges for certain function calls that need those extra administrator privileges. I think this sounds a job for impersonating an administrator but if I could get some more expert guidance it would be very helpful.
Continue reading...