isKeyWritable
Returns whether the given registry key is writable or not.
Method of
Syntax
boolean isKeyWritable(
string key);Parameters
The method has the following parameter:
keyA string representing the path to the key Returns
A boolean value: true if the key is writable; false if not.
Description
Example
winreg = getWinRegistry(); if ( winreg != null ) { winreg.setRootKey ( winreg.HKEY_LOCAL_MACHINE ); if(winreg.isKeyWritable("SOFTWARE")) { //isKeyWritable returned true } else { //isKeyWritable returned false }
| Netscape Communications devedge.netscape.com |