TCP HTTP CSharp

MTSkull

Centurion
Joined
Mar 25, 2003
Messages
151
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, it's possible. The device interacts with an HTTP client -- whether it's a browser or something else the device shouldn't care.

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