How to open page in google Chrome ultilizando C#

Asked

Viewed 2,168 times

1

I need to open a window using c# with a specific web page in Google Chrome (Not in the default browser).

A possible solution would be to run a C#Cache, but I don’t know how to open only in Chrome.

1 answer

3


You can use the Process.Start().

using System;

namespace ConsoleApp
{
    public  class Program
    {
        public static void Main()
        {
             System.Diagnostics.Process.Start("chrome.exe", "https://answall.com");
        }

    }
}
  • It helped a lot, thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.