I use WinAPI functions to determing MAC address.
It is two way to determ:
1) via method Netbios (netapi32.dll) - it's work
2) via method CreateFile(kernel32.dll) - don't work
To use CreateFile I must pass NetCardName. Under Windows this value is "{4D36E972-E325-11CE-BFC1-08002bE10318}" under wine this value is "eth0".
Under wine the method "CreateFile" is failed with error "File not found".
It is possible to fix this problem? The problem is refers to identical problem with installation license of FlexLM, when license can't be installed, because the value of HostID is NULL. I suppose that the FlexLM is used the same method to determ MAC address.