Description
Access windows registry.
available: SWFKit, SWFKit Pro
Syntax
new RegKey(keyname)
Parameters
| Name | Meaning |
| HKCR | HKEY_CLASSES_ROOT |
| HKCC | HKEY_CURRENT_CONFIG |
| HKCU | HKEY_CURRENT_USER |
| HKLM | HKEY_LOCAL_MACHINE |
| HKU | HKEY_USERS |
| HKPD | HKEY_PERFORMANCE_DATA |
| HKDD | HKEY_DYN_DATA |
Remarks
If the registry key specified by the keyname parameter has been successfully opened, a new instance of the RegKey object is created. Otherwise, the constructor returns null.
Example
r = new RegKey("HKCU\\Software\\Demo1");
d = new Date(r.lastWriteTime);
trace(d.toLocaleString());