/// <summary> /// Gets the RegValue character. /// </summary> /// <param name="subKey">The sub key.</param> /// <param name="keyName">Name of the key.</param> /// <param name="defaultValue">if set to <c>true</c> [default value].</param> /// <returns>Value from the key.</returns> public static char GetValueChar(this RegistryKey regKey, string subKey, string keyName, char defaultValue) { string sValue = GetValueString(regKey, subKey, keyName, string.Empty); return(TypeSystem.GetValueChar(sValue)); }