Configuration file Section Protection.
- 2.0
- 3.5
- 4.0
- 4.5
- 4.5.2
- 4.6
- 4.6.2
- 4.7
- 4.7.2
- 4.8
URL:https://www.nuget.org/packages/Moca.NETConfiguration/
PM> Install-Package Moca.NETConfiguration
C#:add Assembly property.
[Assembly: Moca.Configuration.SectionProtection(Moca.Configuration.ProtectionProviderType.DPAPI, "Section Name")]
VB:add Assembly property.
<Assembly: Moca.Configuration.SectionProtection(Moca.Configuration.ProtectionProviderType.DPAPI, "Section Name")>
Protection Provider Type DPAPI or RSA.
Program Startup execute method.
Moca.Configuration.SectionProtector.Protect()
-
Web Form Application
-
Windows Form Application
- Visual Studio 2019
Microsoft Public License (MS-PL)