I have the following code
object objectValue1 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateGet(RuntimeHelpers.GetObjectValue(Interaction.GetObject("winmgmts:\\\\.\\root\\cimv2", (string) null)), (Type) null, "ExecQuery", new object[1]
{
(object) "Select * from WIN32_NetworkAdapterConfiguration"
}, (string[]) null, (Type[]) null, (bool[]) null));
try
{
foreach (object obj in (IEnumerable) objectValue1)
{
object objectValue2 = RuntimeHelpers.GetObjectValue(obj);
string Left;
try
{
Left = Conversions.ToString(NewLateBinding.LateGet(objectValue2, (Type) null, "MACAddress", new object[0], (string[]) null, (Type[]) null, (bool[]) null));
}
I am trying to read out my mac addresses but the problem is that i sometimes have 3 times the same mac address and sometimes my mac address of the ras adapter changes. Can you help me?