Summary
Provides convenience methods for loading and saving application settings.
Static methods
| string | |
Decrypts a password encrypted with SettingsUtil.EncryptPassword(string, byte[]). |
| string | |
Encrypts a password using AES. The result is encoded into base 64 for easy storage. |
| SettingsAttribute | |
Retrieves the mandatory SettingsAttribute for the specified settings class type. Throws if the
type doesn't have it specified. |
| SettingsAttribute | |
Retrieves the mandatory SettingsAttribute for the type TSettings. Throws
if the type doesn't have it specified. |
| bool | LoadSettings<TSettings>(out TSettings settings, string filename = null, SettingsSerializer? serializer = null) |
Loads settings into the specified class, or, if not available, creates a new instance of the class. See
Remarks. |
| void | |
Performs safety checks to ensure that a settings object conforms to various requirements imposed by
SettingsUtil methods. Run this method as a post-build step to ensure reliability of execution. For an example
of use, see PostBuildChecker.RunPostBuildChecks(string, params Assembly[]). This method is available only in DEBUG mode. |