Hi Goran,
As far as I can tell, the DeviceID can't be passed into a custom User
Agent unless you have an application that runs on the PocketPC that
modifies the User Agent value in the registry. Keep in mind that this
can't be done using a web browser - the user will be required to install
or run an application on the device. As a general rule, the registry can't
easily be accessed from a web browser for obvious security reasons.
Here is the UserAgent key in the Pocket PC registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Internet Settings\UserAgent
You also have the option of creating a multimodal web application. In other
words, create a client program (using eVB/eVC++ or .NET CF) that
interacts with Pocket IE. For example, here is an article that I found
that shows how to retrieve the Pocket PC Owner Information using eVB:
http://www.devbuzz.com/content/zinc_evb_retrieve_owner_info_pg1.asp
If you have direct hands-on access to your web server, you can try
installing a pre-Beta 2 version of MMIT. Don't try this option in a
production
environment. There are obvious security and stability concerns when you use
any beta software. However, in a test environment you can check out the
effectiveness of the UniqueDeviceID method to retrieve the Pocket PC
Owner Information.
Good luck. I hope this information is useful to you.
Thanks,
Jean-Luc David
Microsoft .NET MVP
(e-mail address removed)
http://www.stormpixel.com
http://www.mobilecoder.net