hardware type

  • Thread starter Thread starter Tommy
  • Start date Start date
T

Tommy

Is there a way with the compact framework to get the type of device the
software is running on such as "Symbol PDT8146", etc..?

thanks in advance.
 
There is an OEM string implemented on some devices which can be retrieved
with the SystemParametersInfo API call. This may give you a hint on the
device in use but since there is no specific format for the string there is
no easy manufacturer, model name etc setting. You'll find a P/Invoke
declaration (C#) for the function at:-
http://www.opennetcf.org/sourcebrow...netPub/wwwroot/Source/OpenNETCF/Win32/Core.cs

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
 
Back
Top