WindowsUtilitiesRename Method |
Namespace: ShellBoost.Core.Utilities
public static int Rename( this RegistryKey key, string oldName, string newName, bool throwOnError = true )
| Exception | Condition |
|---|---|
| ArgumentNullException | oldName is null or newName is null. |
| ArgumentException | key has an invalid handle. |