Using C#, is it possible to programatically start an application and enter a required user name and password
How to programmatically start a process and enter required user name and password
Collapse
X
-
Tags: None
-
Really depends on what the application is and how it expects the credentials. Process.Start allows you to start an application with a security context of the specified credentials http://msdn.microsoft.com/en-us/library/sxf2saat.aspx. This may work for some applications. -
The answer here would be undefined as it does depend on the application. We don't know at this point whether the credentials can be inputted via command line arguments or this is a window that pops up later in the lifetime of the application, expecting user input for the credentials.Comment
Comment