You can create a local web server for Windows 8 Surface RT

My goal is to run flash locally on a Windows Surface RT tablet. From the study, I found that for websites that run flash memory, they need to be whitewashed on the Microsoft website. Thanks to further research, I found how to hack the whitelist to add any domain: http://www.redmondpie.com/how-to-enable-flash-for-any-site-in-windows-8-rt-metro -internet-explorer-10 / .

However, I cannot add a local file system (i.e. C:\ or file:\\ ) since they are not domains. One of the solutions I have is to use localhost. How can I write a web server to work on Windows 8 Surface RT, or can it be done?

In C #, I know that you can use System.Net.HttpListener : http://www.codehosting.net/blog/BlogEngine/post/Simple-C-Web-Server.aspx . Is System.Net.HttpListener supported with Surface RT? If not, what are the alternative solutions for playing flash locally?

+4
source share
1 answer
It is theoretically possible. You must use StreamSocketListener to get StreamSocket . Then you process the http input from this socket (tons of work) and send the response. I did my job with the protocol. One thing you might want to pay attention to is that you might need a second machine to send an HTTP request. I am using IE from another PC to send a test request. Win8 network isolation will not allow tcp to be connected between two applications of the same machine ...
+3
source

Source: https://habr.com/ru/post/1446544/


All Articles