public void Should_pull_the_network_adapter_mac_address() { var networkIdProvider = new NetworkAddressWorkerIdProvider(); byte[] networkId = networkIdProvider.GetWorkerId(0); Assert.IsNotNull(networkId); Assert.AreEqual(6, networkId.Length); }
public void Should_match_perhaps() { var networkAddressWorkerIdProvider = new NetworkAddressWorkerIdProvider(); byte[] firstId = networkAddressWorkerIdProvider.GetWorkerId(0); var wmiNetworkAddressWorkerIdProvider = new WmiNetworkAddressWorkerIdProvider(); byte[] secondId = wmiNetworkAddressWorkerIdProvider.GetWorkerId(2); Assert.AreEqual(firstId, secondId); }