예제 #1
0
        public void ActiveNetworkComputers()
        {
            var network     = new MockNetworkProivder();
            var machineInfo = network.NetworkComputers();

            Assert.IsTrue(machineInfo.Count > 0);
        }
예제 #2
0
        public void GetDomainNetworkComputers()
        {
            var network = new MockNetworkProivder();

            Assert.IsTrue(network.DomainNetworkComputers("Domain").Count > 0);
        }
예제 #3
0
        public void GetDomains()
        {
            var network = new MockNetworkProivder();

            Assert.IsTrue(network.EnumerateDomains().Count > 0);
        }