如何将变量从asp.net页面传递到win表单应用程序

问题描述:

大家好





我正在开发一个asp.net应用程序,我得到4个值作为最终结果,我需要将此传递给本地系统中的win表单应用程序,以便在该win表单应用程序中显示这些值。可能吗? plz提出了一个解决方案

Hi all


I'm developing an asp.net application in this i get 4 values as final result , i need to pass this to a win form application in the local system for displaying these values in that win form application. is it possible? plz suggest a solution

我不知道有什么方法可以直接将数据从浏览器的网页传递到用户机器上运行的软件。



也许您可以尝试以某种方式将数据存储在服务器上,然后提供WinForms应用程序可以请求的URL(可能每隔几秒),提供它数据?
I'm not aware of any ways that data can just be directly passed from a webpage in a browser to software running on a user's machine.

Maybe you could try storing the data on the server in some way, and then provide a url that the WinForms application can request (maybe every few seconds), providing it with the data?


不。无法直接完成。


尝试使用cookies。



如果您的网页将数据存储在cookie中,那么应该可以从本地运行的应用程序中读取cookie,因为cookie存储在本地。



我不能提供除Google 可以追求这种可能的解决方案。
Try cookies.

If your webpage stores the data in cookies, then it should be possible to read the cookies from your local-running application, because cookies are stored locally.

I can't provide any links other than Google for pursuit of this possible solution.