We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Public Function GetMacAddress() As String Dim theNetworkInterfaces() As System.Net.NetworkInformation.NetworkInterface = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() Dim currentInterface As System.Net.NetworkInformation.NetworkInterface For Each currentInterface In theNetworkInterfaces If currentInterface.NetworkInterfaceType <> Net.NetworkInformation.NetworkInterfaceType.Tunnel Then GetMacAddress = currentInterface.GetPhysicalAddress().ToString() Exit For End If Next End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.