.NET 2005 & the Registry

G

Guest

So, is there Microsoft support for accessing the registry in .Net 2005? When
I go to the help and filter on "Smart Device Development", I get a help entry
for the Registry class in the namespace Microsoft.Win32. The namespace is
not available in compact framework projects.

Also, the last time I checked, OpenNETCF didn't have a build of their
library for .Net 2005 yet either. Are there any workable options for .Net
2005 at this time?

Bill
 
P

Paul G. Tobey [eMVP]

The code would be the same in either case, so just grab the registry class
source from OpenNETCF and build it into your project. I don't think that it
has many dependencies...

Paul T.
 
P

Peter Foot [MVP]

It is available - in .NETCF v2.0 projects. If you are working on a v1.0
project e.g. for Smartphone 2003 you won't have access to it. It's in the
Microsoft.Win32 namespace and part of mscorlib.dll

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