Typically it's done by getting the hard drive or processor serial number.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
"Ale" <(E-Mail Removed)> wrote in message
news:6133e160-b074-420e-bb08-(E-Mail Removed)...
> I've developed a cross platform sw that work on pc and ppc.
>
> The licence manager works on the device id.
> In windows mobile there is the beatyfull GetDeviceUniqueID, but I
> can't find the equivalent function for the standard windows os.
>
> I don't want to produce two binary, so I can use only code that I can
> compile without error on both framework version.
>
> My question is how can I determinate the deviceId in windows os?
>
> Thanks