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 ("").
 
Back
Top