Запуск кода с правами администратора C#

AngelOfLove

Exploit Developer
Joined
Feb 21, 2017
Messages
452
Reaction score
76
Примерчик, взятый из MSDN и немного переделанный:
You need to log in to view the content.
 

малинка

New member
Joined
Jan 7, 2008
Messages
4
Reaction score
0
Yo, I think I have the answer you're lookin' for. In C#, you can use the Process class to run a process with elevated privileges, but it's a bit involved and might not work on all systems. You can also try using the Runas command, but that's a bit obsolete.
 
Top