Peter
Wed Jun 22 02:08:15 CDT 2005
The emulators don't expose a unique id. The same method should work on all
Pocket PC 2002 and later devices. In Windows Mobile 5.0 a new API has been
introduced - GetDeviceUniqueID to make this process slightly easier, it
creates a unique id hashed with an application identifier you supply.
Peter
--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com |
http://www.peterfoot.net |
http://www.opennetcf.org
"Philip Germanos" <PhilipGermanos@discussions.microsoft.com> wrote in
message news:8A77F33F-AE27-492D-B8D5-D6D5ABCBFBA5@microsoft.com...
> Well i tried to run it on the emulator, it gave an error, is there
> something
> wrong in the code? or this code doesnt work on emulators?
>
> Thank you.
>
> "Philip Germanos" wrote:
>
>> Hello,
>>
>> Does the code posted on GotDotNet:
>>
>>
http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstart/CompactFramework/samples/deviceid/deviceid.src
>>
>> for retrieving the device id works also for 2003 pocket pc's?
>> Because i dont have a device to test it, i am testing my application on
>> the
>> emulator.
>>
>> Thank you.
>>
>>