Evan Mulawski

I need to retreive some information from the registry.

1) How do I open a registry key

2) How do I check/read the value

3) How can I copy that value into a label

Thank you very much,

BTW: Is it possible to retreive system memory information from the registry




Re: .NET Base Class Library Retreive information from registry...

Mark Dawson

Hi,

here is an article that details how you can do the tasks you have asked: http://www.codeproject.com/cs/system/modifyregistry.asp

Mark.






Re: .NET Base Class Library Retreive information from registry...

Evan Mulawski

Thank you very much for that link. I can really use this method.

BTW, is there a way to retreive computer memory information from the registry i.e. 512MB RAM

Thanks in advance,






Re: .NET Base Class Library Retreive information from registry...

Mark Dawson

Hi,

I don't believe this information is written to the registry at any time, you should do a search www.live.com for performance counters in C#.

If you don't find anything try opening a new question in this forum with a title that is more pertinant to your new question so you get more help.

Mark.






Re: .NET Base Class Library Retreive information from registry...

Vivek Ragunathan

Hi

You can use the Registry and RegistryKey class. You can refer the MSDN or VS help.

Regards




Re: .NET Base Class Library Retreive information from registry...

Evan Mulawski

Thank you for your response.

But how does the Task Manager show memory status