How to get the MacAddress of End User Machine in asp.net
Dim nics() As NetworkInterface = NetworkInterface.GetAllNetworkInterfaces()
Dim sMacAddress As String = String.Empty
Dim adapter As NetworkInterface
For Each adapter In nics
If sMacAddress = String.Empty Then
Dim properties As IPInterfaceProperties = adapter.GetIPProperties()
sMacAddress = adapter.GetPhysicalAddress().ToString()
End If
Next
By using the above code i am getting Application Host server Machine's macaddress