Calling CreateProcessAsUser from C#

后端 未结 3 889
暗喜
暗喜 2020-12-08 09:11

I\'ve been attempting to create a new process under the context of a specific user using the CreateProcessAsUser function of the Windows API, but seem to be run

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 09:24

    Jonathan Peppers provided this great piece of code that fixed my issues

    http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/0c0ca087-5e7b-4046-93cb-c7b3e48d0dfb?ppud=4

提交回复
热议问题