简体   繁体   English

如何从托管在 iis 上的 Asp.net 项目运行 Exe 文件

[英]How To Run Exe File From Asp.net project which is host on iis

i want to run .exe file from mvc application which is host on iis when i enter url (of host .net application) in browser exe run.当我在浏览器 exe 运行中输入 url(主机 .net 应用程序的)时,我想从 iis 上的主机 mvc 应用程序运行 .exe 文件。

my .exe file is on server and i want from there every user use this exe file instead of install on all user pc我的 .exe 文件在服务器上,我希望从那里每个用户都使用这个 exe 文件而不是安装在所有用户的电脑上

need sample code to run exe from mvc application需要示例代码来从 mvc 应用程序运行 exe

You can't do this.你不能这样做。 It would be a massive security issue.这将是一个巨大的安全问题。 All the methods which did let you do this are long obsolete as they were abused for malware etc.所有让你这样做的方法都已经过时了,因为它们被恶意软件等滥用。

You just want to let the user download the file and then ask them to run it.您只想让用户下载文件,然后让他们运行它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM