RegiisUtility.ProtectedConfigAction Method (Int64, String, String, String, String, String, String, Int32, IntPtr)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Allows specific manipulation of configuration sections and assembly-key containers based on the supplied parameters.
Assembly: System.Web (in System.Web.dll)
Public Sub ProtectedConfigAction ( options As Long, firstArgument As String, secondArgument As String, providerName As String, appPath As String, site As String, cspOrLocation As String, keySize As Integer, <OutAttribute> ByRef exception As IntPtr )
Parameters
- options
-
Type:
System.Int64
The type of action to perform.
- firstArgument
-
Type:
System.String
A configuration section or assembly-key container name.
- secondArgument
-
Type:
System.String
The configuration file name or account name.
- providerName
-
Type:
System.String
The provider name.
- appPath
-
Type:
System.String
The application path.
- site
-
Type:
System.String
The site reference.
- cspOrLocation
-
Type:
System.String
The configuration location.
- keySize
-
Type:
System.Int32
The size of the key.
- exception
-
Type:
System.IntPtr
The exception to display.
The ProtectedConfigAction method is used internally to protect and unprotect sections within the configuration. The ProtectedConfigAction method also supports assembly-key container manipulation.
.NET Framework
Available since 2.0
Available since 2.0
Show: