This gets a MAC address on desktop, should also work on the device using both .NET 1.0/1.1 and 2.0.
That is .NET, I used P/Invoke - look at the web link in the demo.As I understand from This page on MSDN, the MAC Adrees cannot be reach on WM....
[DllImport("iphlpapi.dll")]
private static extern int GetAdaptersInfo(byte[] pAdapterInfo, ref uint pOutBufLen);
No, like I said inthe PM it got too complicated.So did you target the OPenNETCF?
I suggest you start with something simpler!but still I would like to leran to fish, instead of being given the fish.....
That is .NET, I used P/Invoke - look at the web link in the demo.
B4X:[DllImport("iphlpapi.dll")] private static extern int GetAdaptersInfo(byte[] pAdapterInfo, ref uint pOutBufLen);
No, like I said inthe PM it got too complicated.
I suggest you start with something simpler!
It contains the debug information for the Visual Studio debugger. You only need the dll in the Release folder. I gave you the whole project as I thought you had SharpDevelop and I understood that it might be able to open VS projects. The actual source code is in Adaptors.cs.What is AdaptorsInfo.pdb file for?
Is it necessary or can be discarted?
Sorry, I didn't realise that. It wasn't intended and must have been a slip of the mouse button!but your first post with only the DLL, also contained this file