i work with the
OpenNETCF.dll
OpenNETCF.Net.dll
for get that MAC address from terminal.
i dont have FrameWork 3.5 on this terminal and i dont want to install hem.
is there OpenNETCF that can work with FrameWork 1.0 ?
tha开发者_Go百科nks in advance
I think Smart Device Framework 1.4 is the last version that worked with .netcf 1.0
In this version, the feature you need can be found at:
using OpenNETCF.Net;
...
AdapterInfo[] infos = NetworkAdapter.GetAdaptersInfo()
if (infos != null && infos.Length > 0)
byte[] macAddr = infos[0].MACAddress;
...
精彩评论