You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrew M edited this page Jun 28, 2017
·
1 revision
Configuring Configuration Section Protection
In the Code Generation Options flags on the Configuration Sections, there's a flag called Protection. Enabling this flag makes the code generator create two methods, Protect and Unprotect. In addition to this code generation flag, the Configuration Sections have a Protection Provider property and a Custom Protection Provider property.
The Protection Provider shows the built-in providers of the .NET Framework, as well as a Custom setting. Selecting the Custom setting makes the code generator use the Custom Protection Provider property. In order to use a custom protection provider, it must first be implemented. Instructions on how to do this can be found on MSDN, as well as through web searches.