Beispiel #1
0
        private bool InitAdapter(string name)
        {
            NetworkAdapter adapter = new NetworkAdapter(name);
            SpeedMonitor   monitor = new SpeedMonitor(adapter);

            monitor.Start();
            // Push into dictonary
            adapters.Add(name, adapter);
            monitors.Add(name, monitor);
            return(true);
        }