calfred2808

Get Mac Address

Aug 7th, 2022
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.23 KB | None | 0 0
  1. Imports System.Net.NetworkInformation
  2.  
  3.  Function getMacAddress()
  4.         Dim nics() As NetworkInterface = _
  5.               NetworkInterface.GetAllNetworkInterfaces
  6.         Return nics(0).GetPhysicalAddress.ToString
  7. End Function
Add Comment
Please, Sign In to add comment