Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的应用程序中创建一个不会继承父 UAC 的子进程。父进程以管理员身份运行,我希望子进程以没有提升的简单用户身份运行。有谁知道如何做到这一点?
我正在用 c# 编码。
谢谢!
很简单:
string appWithoutElevation = @"c:\some foldre\app.exe"; Process.Start("explorer", appWithoutElevation);