Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. To Constantly ping the system.

To Constantly ping the system.

Scheduled Pinned Locked Moved C#
csharphelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Venkat_83
    wrote on last edited by
    #1

    Hi, I want the code in C# for pinging the system constantly and get back the alert when the target system is down which says that "Service Unavailability" of the target computer. Kindly guide me in solving this issue. Thanking you in Advance, Venkat.

    A M 2 Replies Last reply
    0
    • V Venkat_83

      Hi, I want the code in C# for pinging the system constantly and get back the alert when the target system is down which says that "Service Unavailability" of the target computer. Kindly guide me in solving this issue. Thanking you in Advance, Venkat.

      A Offline
      A Offline
      AB7771
      wrote on last edited by
      #2

      the ping command of the system returns "Reply from ..." if the system that is pinged is working or on. and returns "Request Timed out.." if the system is \switched off now u need to write a thread and execute this ping command in that thread and break the thread when u receive the Request timed out message and display that to the user. Regards, Pramod

      1 Reply Last reply
      0
      • V Venkat_83

        Hi, I want the code in C# for pinging the system constantly and get back the alert when the target system is down which says that "Service Unavailability" of the target computer. Kindly guide me in solving this issue. Thanking you in Advance, Venkat.

        M Offline
        M Offline
        mitooki
        wrote on last edited by
        #3

        There are many useful articles on CP, e.g. http://www.codeproject.com/csharp/icmpsermonitor.asp[^] :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups