Detect Handheld Brand Information

B

Beebs

Maybe this is the wrong place to be asking, but I'll go ahead and ask
anyway. Does anyone know of a way I can detect what type of handheld
my application is running on. For instance, I've developed an
application which allows for bar code reading, but will work without.
That being said, I have the bar coder initialized in my Main() and a
function to handle any form reading a code. It would be real easy if
in my Main() I could say something like:

If it is a symbol 8800 unit Then
Initialize code here...
ElseIf it is a casio unit Then
Initialze code here...
Else
Do nothing
End If

Thanks for any help.
 
P

Peter Foot [MVP]

You'll need to P/Invoke SystemParametersInfo with the SPI_GETOEMINFO
constant to get an OEM specific string. Take a look at the OemInfo property
in the OpenNETCF.EnvironmentEx class source code for the implementation -
http://vault.netcf.tv username guest, password guest.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top