Via Lattanzio,23 Milano
+39 02 36592025
info@synaptica.info

Delphi Linux getting MacAddress

Digital solution partner

Delphi Linux getting MacAddress

In linux every adapter configuration has a file system path, for example the adapter eth0 has all configuration, in some text files located in “/sys/class/net/eth0/”.
The file whose name is “address” contains a single line with the mac adrress value.