For the ping, youd need to lookup the specs for that. Im sorry I cant help you there. Try looking for RFC and ICMP echo in google. I know people have created a published programs that can ping in .net.
For detecting a service though, the easiest way would probably be to create a TcpClient and connect to the IP and the port of the service. If an exception is thrown, the service probably doesnt exist on the specified IP.
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.