我在我的电脑,调用该应用程序上注册自定义协议处理程序被添加: string prefix = "runapp://";
// The name of this app for user messages
string title = "RunApp URL Protocol Handler";
// Verify the command line argu
因此,我创建了一个URL协议以使用命令参数运行应用程序。 这里是我的代码: using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using Microsoft.Win32;