Module comscan :: Class RegistryAccess
[hide private]
[frames] | no frames]

Class RegistryAccess

source code

A class that is significantly easier to use to access the Registry

Instance Methods [hide private]
 
__init__(self, hive=2147483650) source code
 
getchildren(self, key)
Returns a list of the child nodes of a key
source code
 
safegetchildren(self, key)
Doesn't throw exception if doesn't exist
source code
 
getvalue(self, key, node)
Gets a value
source code
 
safegetvalue(self, key, node, default=None)
Gets a value and if nothing is found returns the default
source code
 
findkey(self, start, lookfor, prependresult='')
Searches for the named key
source code
 
getallchildren(self, start, prependresult='')
Returns a list of all child nodes in the hierarchy
source code
Method Details [hide private]

safegetchildren(self, key)

source code 

Doesn't throw exception if doesn't exist

Returns:
A list of zero or more items

getvalue(self, key, node)

source code 

Gets a value

The result is returned as the correct type (string, int, etc)