public void TestGetServices() { var services = SCM.GetServices("localhost"); Assert.IsTrue(services.Count > 5); Assert.IsNotNull(services.FirstOrDefault(S => S.DisplayName == "Netlogon")); }
public void TestGetServicesBadComputerName() { var results = SCM.GetServices("blah"); Assert.IsNull(results); }