TCP HTTP CSharp

MTSkull

Well-known member
Joined
Mar 25, 2003
Messages
135
Location
Boulder, Colorado
I have a device that is addressable via a browser by going to its IP. Example 199.199.199.10 gives me a configure page, much like a DSL router, that I can use to setup the device. Using Ethereal I can see the communications between my computer and the device. All of the communications between the device and my computer are HTTP and TCP packets. Where do I need to start to build a C# application to execute the configure commands automatically instead of the user clicking through the browser to setup the device? I am just looking for someone to point me in the right direction. Is this even possible?

Thanks
MT
 
Sure, its possible. The device interacts with an HTTP client -- whether its a browser or something else the device shouldnt care.

You will just need to send the proper data as a POST using something like the System.Net.HttpWebRequest class.
 
Back
Top