access registry without .Net CF 2

C

cyberco

WM5-SE, .Net CF1, VS2005

I want to access the registry on my WM5, .Net CF1 device. I know how
to access the registry using the Microsoft.Win32 namespace that comes
with .Net CF2 (or the OpenNetCF), but how about .NetCF1 devices?
 
C

Chris

Have a look at this Microsoft article:
http://msdn2.microsoft.com/en-us/library/aa446550.aspx

Download the sample code and take a look at the Registry.cs class --
it's where I cribbed my registry functionality from. And since the
main article is a discussion about creating a P/Invoke library,
there's no dependency on the Microsoft.Win32 namespace.

I've been using it successfully on a WM5 device, using the CF2 SP2
framework. But like I said, it should work under CF1.


Good luck,
Chris
 

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