Info
Version: | 3.0.2 |
Author(s): | Jonathan Wood |
Last Update: | Thursday, October 27, 2022 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/SoftCircuits/WinSettings |
NuGet Url: | https://www.nuget.org/packages/SoftCircuits.WinSettings |
Install
Install-Package SoftCircuits.WinSettings
dotnet add package SoftCircuits.WinSettings
paket add SoftCircuits.WinSettings
SoftCircuits.WinSettings Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.Win32.Registry(>= 4.7.0)
- SoftCircuits.EasyEncryption(>= 1.0.3)
Tags
Just create your settings class and have it derive from RegistrySettings (saves settings to the system registry), XmlSettings (saves settings to an XML file) or IniSettings (saves settings to an INI file). Just call the Save() method to save the class properties. Use the Load() method to load them. Use the [EncryptedSetting] attribute to specify a property should be stored.
Use the [ExcludeSetting] to specify that a property does not represent an application setting and should not be saved.