Feroz

Feroz

  • NA
  • 1
  • 0

Retrieving services from a remote server using GetServices()

Mar 3 2009 10:57 AM

Hi,

I hope I can explain myself...

I've written a monitoring services GUI app, which basically monitors the status of Window services running on remote servers and currently runs from a single located central management server.  However, i've been asked to look into modifying it such that it can be run from of a users local desktop as well.  The problem being that it currently runs fine due to the central management server having visibility of the other servers it's monitoring, since they are on the same domain.  Our personal machines have no visibility and we depend upon local file host entries to resolve their machine names.

Is there basically a way for the app to see these servers locally from a users machine?

I'm using the:

ServiceController.GetServices Method (String) to retieve all the services associated to each of the servers.