I want to display mac address of server machine. I have its IP address.
Actually I have written a function to find MAC Address as follows -
Public Function FunG_GetMACAddress() As String
Dim mc As System.Management.ManagementClass
Dim mo As ManagementObject
mc = New ManagementClass("Win32_NetworkAdapterConfiguration")
Dim moc As ManagementObjectCollection = mc.GetInstances()
For Each mo In moc
If mo.Item("IPEnabled") = True Then
Dim strAdapter As String
&nb ...
Go to the complete details ...