OK..Lets see if I can make this question make any sense :/
I have made a query that allows me to see NetworkAdapter class information for a selected NIC. I somehow want to include information from the NetworkAdapterConfiguration class in the same query (IPAddress, DefaultGateway etc). PLEEEEEEES HELP!!
intquery = new ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapter WHERE Description ='" + comboBox1.Items[comboBox1.SelectedIndex].ToString()+ "'");
ManagementObjectCollection queryCollection = intquery.Get();
queryCollection = intquery.Get();
This is the other query for tcp/ip info
ManagementObjectSearcher query = new ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'TRUE'");
ManagementObjectCollection queryCollection1 = query.Get();
Can i merge them to select from the same combo box??
Many Thanks :)