When I check my system for present NICS ...I would then like to select a specific NIC and scan the attached network for all present IP addresses.Code:cbNics.Items.Clear(); NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); if (nics == null || nics.Length < 1) { cbNics.Items.Add("-- No network interfaces found --"); } foreach (NetworkInterface adapter in nics) { cbNics.Items.Add(adapter.Description); }
Any suggestion how to do this ?




Reply With Quote