1.4 OpenNETCF code retrieves information from the following P / Invoke call:
[DllImport ("iphlpapi.dll", SetLastError=true)]
public static extern int GetAdaptersInfo( byte[] ip, ref int size );
The physical address (returned as the MAC address), I think, around the index is 400-408 byte array after the call. That way you can just use it directly if you don't want to use OpenNETCF (why so? OpenNETCF is more scalable than stone manga!)
Wonderful P / Invoke.net gives a complete example here .
Oh, and correctly answer your question:
only using Compact Framework
. CF, , .: D