Hi,
JGentsch wrote:
I get the impression that those solutions are completely native code. I'm using C#. I'd like to use managed code. I could use System.Net.Dns.GetHostName(), but that's unreliable for uniqueness
Yes that is correct, the .NET Compact Framework / Windows Mobile OS doesn't provide any managed way to easily access the unique device id. However this shouldn't be too much of an issue, since it can be worked around via a little bit of Platform Invoke code. For example www.pinvoke.net has a page discussing how you could do this on a Windows Mobile 5.0 or higher device via a function called GetDeviceUniqueID at http://pinvoke.net/default.aspx/coredll/GetDeviceUniqueID.html Hope this helps, Christopher Fairbairn
Windows Mobile Development blog http://www.christec.co.nz/blog/