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);
}
C# 使用默认浏览器打开链接
猜你喜欢
转载自www.cnblogs.com/ilookbo/p/10431287.html
今日推荐
周排行