How to read default value from Registry key ?

  • Thread starter Thread starter Roman Muntyanu
  • Start date Start date
R

Roman Muntyanu

Hi all,

Tried to read dafault value from the registry but could not find
appropriate method in .NET. Name "Default" or "(Default)" returns null
when I use GetValue() method. Dificult to believe that there is no way
in .NET.
API has method RegQueryValue() that can get it

Any tips on it?

Thanks
Roman
 
Roman said:
Hi all,

Tried to read dafault value from the registry but could not find
appropriate method in .NET. Name "Default" or "(Default)" returns null
when I use GetValue() method. Dificult to believe that there is no way
in .NET.
API has method RegQueryValue() that can get it

Any tips on it?

Thanks
Roman

To get the default value for a particular registrykey, name can be
either a null reference (Nothing in Visual Basic), or the empty string ("").
 

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

Back
Top