admin管理员组

文章数量:1570215

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

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

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

转载于:https://wwwblogs/stulzq/p/5121471.html

本文标签: 迅雷影音