Package platformids :: Package dist :: Package nt :: Module windows_subprocess_reg_exe :: Class RegistryByExe

Class RegistryByExe

source code


Registry read access by reg.exe to

"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"
Instance Methods
 
__init__(self) source code
Method Details

read_CurrentVersion(self)

source code 

Reads the constant - thus hardcoded - key from

"HKLM\Software\Microsoft\Windows NT\CurrentVersion"
Args:
None
Returns:
The dictionary of the CurrentVersion.
Raises:

PlatformIDsReadRegExeError

pass-through

Decorators:

get_win32_OSProductInfo(self)

source code 

Estimates the product type, because this is a fallback when nothing else is available.

Args:
None
Returns:

The estimated product type as a reduction of the original

"pdwReturnedProductType"
Raises:
pass-through
Decorators: