how to execute a dos command through C# ASP.net without using Proc

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to execute a .exe file through my ASP.Net C# .Net framework 1.1
application with user "X" credential. i used impersonationContext ( see notes
at http://support.microsoft.com/?id=306158#4) to accomblish this. I pretty
sure that this concept of imperonation works.

Since Process.Start always uses the security context of the parent ASP.NET
process(which is domainName\ASPNET), my impersonation is no use with Process.

Do anbody know how to execute a .exe file without using Process (Diagnostics).
with the current thread impersonated user?

Thanks
Avasi
 
Back
Top