Category Archives: C#

Run External Application as Another User in C#

An arbitrary external application can be executed from C# using System.Diagnostics.Process. If you want to run as another user, setting the System.Diagnostics.Process.StartInfo.Password field can be a bit confusing. Here is one way using System.Security.SecureString.AppendChar to avoid having to resort to … Continue reading

Posted in .Net, C#, Technology | 1 Comment