I am concerned why I get 2 different MAC addresses. In my vb.net program:
returns a value which does not match the value on the Network Connection Details popup form (the Physical Address field) of the computer. Can anyone shed some light as to why the MAC address coming out of the program is not the same as the Physical Address on the Network Connection Details popup?Code:Function getMacAddress() Dim nics() As NetworkInterface = NetworkInterface.GetAllNetworkInterfaces() Return nics(1).GetPhysicalAddress.ToString End Function




Reply With Quote