Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces();
- foreach (NetworkInterface adapter in adapters)
- {
- IPInterfaceProperties properties = adapter.GetIPProperties();
- IPv4InterfaceStatistics stats = adapter.GetIPv4Statistics();
- Console.WriteLine(adapter.Description);
- Console.WriteLine("Speed .....: {0}",adapter.Speed);
- }
Add Comment
Please, Sign In to add comment