/// <summary> /// Retrieves the value of a property from the current process /// as <see cref="bool"/>. If the value cannot be cast to <see cref="bool"/>, returns <c>false</c>. /// </summary> /// <param name="key">The name of the property.</param> /// <returns>The property value.</returns> public static bool GetPropertyAsBoolean(string key) { return(properties.GetPropertyAsBoolean(key)); }