Detect Handheld Brand Information

  • Thread starter Thread starter Beebs
  • Start date Start date
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.
 
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
 
Back
Top