B4J Library jGetMac (Gets MAC Address)

This is a simple library that returns the MAC Address of the current PC. Designed to work on B4J
**Does not work on B4A**

example.
Code:
Dim S As String
Dim ti As jGetMac

S = ti.MacAddressFromClient

lbl1.Text = S
 

Attachments

I have more than one.. wireless and a nic.. but if you don't have anything plugged into nic and wireless disabled.. I get that error.. it seems that you have to have a valid IP before you can get the mac..
 
Back
Top