How to get device informations with c#?

G

Guest

Hi,

how can I get device Informations like display´s color depth, touchscreen
support, free memory, cpu, device name supported mime-types with c#?

Thank you very much for your support and have a nice day

Cornelius
 
P

Peter Foot [MVP]

Some of those items are going to require difference methods depending on the
device type. However there are some general APIs for
Processor Type - GetSystemInfo
Memory - GlobalMemoryStatus

You'll find both of these wrapped in the OpenNETCF.Win32.Core class
(www.opennetcf.org/sdf/)

To enumerate supported mime types you could look through the registry in the
HKEY_CLASSES_ROOT key. Again the SDF has a complete Registry implementation
which matches that on the desktop.

Peter
 
G

Guest

Thank you very much. It works fine.

Do you know how I can embedd the SDF Classes in my *.cab install file for
the mobile device?

Thank you very much

Cornelius
 

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