更新时间:2022-11-01 08:14:33
可能,是的.简单,或者就此而言是个好主意,不.
Possible, yes. Easy, or a good idea for that matter, no.
如果您的 WinForms 应用程序还打开一个 Socket 并侦听端口 80 上的请求.
If your WinForms app also opens up a Socket and listens for requests on port 80.
本质上,您必须在 WinForms 应用程序中构建一个 Web 服务器,然后处理从手机到运行应用程序的计算机的流量的防火墙和安全问题.
Essentially you have to build a web server into your WinForms application and then deal with firewall and security issues of the traffic getting from the Mobile Phone to the computer running your application.