public void TestPerformance3() { PerformanceUtility pu = new PerformanceUtility(); pu.StartTimer(); WifiProfile items = WifiProfileManager.ActiveWifiProfile; long time = pu.GetEnlapsedTime(); Debug.WriteLine("Executed WifiProfileManager.ActiveWifiProfile in " + time + " ms"); }
public void TestPerformance2() { PerformanceUtility pu = new PerformanceUtility(); pu.StartTimer(); List <WindowsNetworkCard> items = WindowsNetworkCardManager.WindowsNetworkCardList; long time = pu.GetEnlapsedTime(); Debug.WriteLine("Executed WindowsNetworkCardList in " + time + " ms"); }