I'm trying to create a screen on our intranet site that when loaded will ping a specified set of ip addresses and report their statistics back to the web ...
You'll need to use the System.Net.Sockets namespace to Ping another machine from .NET. A search on Google for C# and Ping turns up a lot of articles detailing exactly this and even a few free components to drop in your app to do it for you...
As an aside, I heard of a new "flaming" acronym yesterday, FGI (Think RTFM and the above answer...) Now its not really my thing, I'd rather help (or at least try to) but it seems theres a definite trend at the moment to "ask before you try". As a developer Googles your best friend, its instant and pracitically boundless...;-)
Rob
Every gun that is made, every warship launched, every rocket fired, signifies in the final sense a theft from those who hunger and are not fed, those who are cold and are not clothed - Eisenhower 1953
I googled for hours yesterday on this trying to find a simple way to do it without having to pay for a third party component. My company wants the functionality but its not in the budget to pay for anything.
I didn't find anything simple and was hoping that I could get a lead or two on anything that I may have missed here. Tek-tips is pretty much always my last resort after I've googled myself to death.
Thanks for the tips ... they are much appreciated.
Thanks ecreations ... I found this article and this is what I ended up using. A previous one that I ran across didn't work but this one hummed along without a hitch.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.