This is a very simple program I wrote to help illustrate to the brain dead cable technicians the intermittent nature of my cable modem connection which was causing me endless grief.
Very simply, it grabs the HTML of http://192.168.100.1/signaldata.html and does some parsing based on known text in order to grab the Downstream Power, SNR and Upstream Power levels from the page. Once parsed, it displays the data on the form in nicely color coded values (green, yellow, and red) based upon some arbitrary but realistic numbers and also shows them visually in the form of a simple bar graph. There is also an option to log the data in a comma separated file when the values change.
The code is very short and sweet and fairly well commented. It should be no problem for anyone with even a basic level of understanding in C#. It utilizes the
System.Net.WebClient class as well as a bar graph control I created.
Since the code is so simple, I won't really spend any time discussing it here since I feel it is much easier to understand when looking at the project directly. Mainly I am offering it to the public in hopes that it will alleviate someone else's grief in the way that it has mine. It is also handy to keep an eye on mission critical cable modem connections for those of us who work from home and/or use VOIP.