我有一个网站,它有一个可以打开游戏的链接按钮:
Process game= new Process();
game.StartInfo.FileName = HttpContext.Current.Request.MapPath("~/iFarkle.exe");
game.StartInfo.UserName = Session["Username"].ToString();
game.StartInfo.UseShellExecute = false;
game.Start();
如何使用 StartInfo.UserName?(它现在不起作用,我输入了错误的数据)(在没有 StartInfo.UserName 的情况下工作