IMPORTANT EDIT: Back again on this subject. As you said there should be no default NIC, I\'m trying to understand if there is a way to detect all the NICs t
You can get a list of them, but not the default (perhaps you can assume it is the first entry).
static void Main(string[] args) { foreach (var nc in NetworkInterface.GetAllNetworkInterfaces()) { Console.WriteLine(nc.Name); } Console.ReadLine(); }