I'm trying to use C# to open two separate browser windows side by side. I've tried using
This is more about the way that the browser is configured than how the process is called from C#. In both cases, the system simply calls the default program assigned to handle the URL. There may or may not be arguments to that command, but typically it will simply invoke
chrome.exe <url> and from there, the
chrome.exe process decides how to handle the parameter.
The only method I am aware of would be to examine the registry (under
HKEY_CLASSES_ROOT\http\shell\open\command) and parse the string value. Once you know the specific browser, you may be able to control the presentation using command-line arguments. Of course, this is specific to Windows and may be a pain to manage.
I am not sure about your application, but would embedding a WebBrowser Control meet your needs? Then you would have total control of the presentation.