Server object has an additional property named Registry that provides the features needed to manipulate the system Registry.
Read only properties (RootKeys) Methods
The following represent read-only properties (RootKeys):
-
HKEY_CLASSES_ROOT
-
HKEY_CURRENT_USER
-
HKEY_LOCAL_MACHINE
-
HKEY_USERS
-
HKEY_PERFORMANCE_DATA
-
HKEY_CURRENT_CONFIG
-
HKEY_DYN_DATA
The following are the methods:
-
function
CreateKey(RootKey: integer; Key: string): boolean; -
function
DeleteKey(RootKey: integer; Key: string): boolean; -
function
DeleteEntry(RootKey: integer; Key: string; Name: string): boolean; -
function
HasSubKeys(RootKey: integer; Key: string): boolean; -
function
KeyExists(RootKey: integer; Key: string): boolean; -
function
ReadFloat(RootKey: integer; Key: string; Name: string): double; -
function
ReadInteger(RootKey: integer; Key: string; Name: string): integer; -
function
ReadBoolean(RootKey: integer; Key: string; Name: string): boolean; -
function
ReadString(RootKey: integer; Key: string; Name: string): string; -
function
WriteFloat(RootKey: integer; Key: string; Name: string; Value: double): boolean; -
function
WriteInteger(RootKey: integer; Key: string; Name: string; Value: integer): boolean; -
function
WriteBoolean(RootKey: integer; Key: string; Name: string; Value: boolean): boolean; -
function
WriteString(RootKey: integer; Key: string; Name: string; Value: string): boolean;

