tags:

views:

1948

answers:

2

How can I get my device name (using WinCE) in C# code ?

It gives me only "WindowsCE" how can i get the type on name of the device ? (ex. symbol or datalogic or mio...)

+4  A: 

The registry value HKEY_LOCAL_MACHINE\Ident\Name contains the device name. Use the registry library to read it.

FrozenFire
+1  A: 

What "Name" are you after? If you're reading the registry entry indicated by FrozenFire and getting "WindowsCE" then that's what the OEM populated for the device name. Is tehre some other name being reported by the device elswhere with anotehr value that you want? If so, where are you seeing it and what is the value? Are you maybe thinking about the device unique ID (example posted by the WinMo team here).

ctacke