Help with using CreateProcessWithLogonW in C#

后端 未结 3 2112
既然无缘
既然无缘 2021-01-15 18:44

I am trying to execute a console app with arguments inside asp.net (C#) on Windows XP. I have tried diagnostics.Process but I just can\'t get it to work so I am switching to

3条回答
  •  情书的邮戳
    2021-01-15 19:02

    This post worked for me.

    http://blogs.msdn.com/alejacma/archive/2007/12/20/how-to-call-createprocesswithlogonw-createprocessasuser-in-net.aspx

提交回复
热议问题