inter Posted June 23, 2006 Posted June 23, 2006 Is there a way to see all the services on a remote computer with .net ? thanks, Quote
Administrators PlausiblyDamp Posted June 23, 2006 Administrators Posted June 23, 2006 System.ServiceProcess.ServiceController[] s = System.ServiceProcess.ServiceController.GetServices("name of computer here"); foreach (System.ServiceProcess.ServiceController sc in s) System.Diagnostics.Debug.WriteLine(sc.ServiceName); should work providing you have the relevant permissions. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.