System.Registry.loadString() This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to System.Registry Class Summary

Availability
Windows

Usage
mdm.System.Registry.loadString(keyBranchID:Number, keyName:String, keyNameValue:String):String

Parameters
keyBranchID:Number - Branch key ID

keyName:String - Key name to search

keyNameValue:String - Key name to search

Returns
A String

Description
Returns a STRING value from the specified registry key.

Notes
While the registry command looks for a specific type of key (string,integer or boolean) the actual new value is always submitted as a string.

The key branch ID can be:

'1' for HKEY_CLASSES_ROOT
'2' for HKEY_CURRENT_USER
'3' for HKEY_LOCAL_MACHINE
'4' for HKEY_USERS
'5' for HKEY_CURRENT_CONFIG

Example Code
var browserVersion:String = mdm.System.Registry.loadString(2, "SOFTWARE\\Microsoft\\Internet Explorer", "Version");

mdm.System.Registry Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page