hi guys i have a some problem about getting value received and sent in local area connection
I want get this value
i have code like this
public static void DisplayDnsConfiguration()
{
NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces();
foreach (NetworkInterface adapter in adapters)
{
IPInterfaceProperties properties = adapter.GetIPProperties();
Console.WriteLine(adapter.Description);
Console.WriteLine(" DNS suffix .............................. : {0}",
properties.DnsSuffix);
Console.WriteLine(" DNS enabled ............................. : {0}",
properties.IsDnsEnabled);
Console.WriteLine(" Dynamically configured DNS .............. : {0}",
properties.IsDynamicDnsEnabled);
}
Console.WriteLine();
}
and my question is, how can i get that value using this code, because many people sugest me to use NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces();
please help me i don't know what i have to do next
and sory for my bad english