方法很多种,这里介绍一种,通过命令行参数调用。

try
            {
                string thunderPath = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Classes\\thunder\\DefaultIcon").GetValue("").ToString().Split(',')[0];
                Process.Start(thunderPath, "http://www.baidu.com/abc.exe");
            }
            catch (Exception ex)
            {
                
                throw new Exception("未安装迅雷");
            }

这是调用迅雷的,由于我本机没有安装迅雷影音,所以就不贴代码了 ,和上面的差不多

相关文章:

  • 2022-02-19
  • 2021-08-19
  • 2021-05-23
  • 2022-02-24
  • 2021-11-25
  • 2021-07-13
  • 2022-01-09
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案