Hey bros.
I'm developing a little application (Windows Forms) that implemets a small web server. The idea is that this small web server can handle request like this:
1st step:
2nd step:
Hope you get the idea.
The problem:
You need to 'register' the web Server. The only way I found to register programatically is using netsh with .NET Process Class:
http://stackoverflow.com/questions/25833...ster-a-uri
Do you know another way to register the url without using Process.Start();?
Thanks in advance.
I'm developing a little application (Windows Forms) that implemets a small web server. The idea is that this small web server can handle request like this:
1st step:
Code
This app (web server) is running on a PC with 192.168.1.23 on 25436 port2nd step:
Code
From another PC on LAN, i.e. 192.168.1.56, if you enter this url, on any webbrowser, jQuery script or ASP.NET / PHP / .NET app:
http://192.168.1.23:25436/json/sensorID=1
The small web server processed that url and reply with a JSON message with the data for sensor XHope you get the idea.
The problem:
You need to 'register' the web Server. The only way I found to register programatically is using netsh with .NET Process Class:
http://stackoverflow.com/questions/25833...ster-a-uri
Do you know another way to register the url without using Process.Start();?
Thanks in advance.



![[Image: qp0UIPa.png]](https://i.imgur.com/qp0UIPa.png)