-
Notifications
You must be signed in to change notification settings - Fork 19
Configuring Configuration Section Protection
Andrew M edited this page Jun 28, 2017
·
1 revision
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.