I want to import variables Console Application Ex; application.exe -variable1 -variable2 -variable3 And i want to run this exe in Web Application.
Shortly,
First problem; How to import variables out of exe?
Second problem; How to call exe in Web Application from Local Server? I think codes looks like;
CallExeInWebApplicationFromServer("ExePath\app.exe -variable1 -variable2");
Finally sorry my bad english..
You can get the parameters using the
Environment.CommandLinevalue.http://msdn.microsoft.com/en-us/library/system.environment.commandline.aspx
http://www.codeproject.com/KB/recipes/commandlineparser.aspx
and you can run your application using the
Process.Starthttp://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx