Or Betzalel Or Betzalel - 7 months ago 67
ASP.NET (C#) Question

Start A Process With Parameters

I'm Using Process.Start from my website to open a windows form application I made in c#.

I want send to the application my username.

So how can I do that?


You can use this:

string username = "MyUsername";
Process.Start(Path.Combine("MyExe.exe" + " \"" + username + "\"");