bool Open(int iKey,string sKey)
Return values
Non zero if the function is successful; otherwise 0, and a error description can be retrieved by calling GetErrorDescription().
Parameters
Remarks
The function opens a registry key in the selected registry hive. Note that the credentials of the process (either the IDE or Network Monitor) can restrict access to certain keys and hives. The following constants are defined for iKey: