public void OpenUrl(string link)
{
RegistryKey key = Registry.ClassesRoot.OpenSubKey(@"http\shell\open\command\");
string s = key.GetValue("").ToString();
System.Diagnostics.Process.Start(s.Substring(0, s.Length - 8), link);
}
转载于:https://www.cnblogs.com/ilookbo/p/10431287.html