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. Is remote machie alive

Is remote machie alive

Scheduled Pinned Locked Moved C#
sysadminwindows-adminquestion
2 Posts 2 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.
  • M Offline
    M Offline
    Mazdak
    wrote on last edited by
    #1

    I'm using OpenRemoteSubkey method to get registry key in remote computer. I have list of computers in AD and use the list to get computer name but how can I find out if each computer is alive in the network now, cause if one computer is not turn on it will take a long time , the method throuwn exception that network path does not exists or in simple statement I wanna set timeout for this function. Mazy
    "One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji

    D 1 Reply Last reply
    0
    • M Mazdak

      I'm using OpenRemoteSubkey method to get registry key in remote computer. I have list of computers in AD and use the list to get computer name but how can I find out if each computer is alive in the network now, cause if one computer is not turn on it will take a long time , the method throuwn exception that network path does not exists or in simple statement I wanna set timeout for this function. Mazy
      "One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Try to PING the IP address first. That'll at least tell you if the machine is up, but it won't tell you if the Remote Registry service is running. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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