Search code examples
c#.netwindowsclient

How does one load a URL from a .NET client application


What is the preferred way to open a URL from a thick client application on Windows using C# and the .NET framework? I want it to use the default browser.


Solution

  • The following code surely works:

    Process.Start("http://www.yoururl.com/Blah.aspx");
    

    It opens the default browser (technically, the default program that handles HTTP URIs).