You can you the
NetworkInterface
class to get information on a network interface like this:
NetworkInterface[] networkCards = NetworkInterface.GetAllNetworkInterfaces();
foreach (NetworkInterface ni in networkCards)
{
Console.WriteLine(ni.Name + " @ " + ni.Speed + " bits per second");
}
Hope this helps,
Fredrik Bornander