public RegistryValueKind GetValueKind(RegistryKey rkey, string name)
{
KeyHandler self = KeyHandler.Lookup(rkey, true);
if (self != null)
{
return(self.GetValueKind(name));
}
// key was removed since it was opened or it does not exist.
return(RegistryValueKind.Unknown);
}