Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ProtectedConfigAction Method

IRegiisUtility.ProtectedConfigAction Method

This API supports the .NET Framework 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.

Namespace:  System.Web.Management
Assembly:  System.Web (in System.Web.dll)

void ProtectedConfigAction(
	long actionToPerform,
	string firstArgument,
	string secondArgument,
	string providerName,
	string appPath,
	string site,
	string cspOrLocation,
	int keySize,
	out IntPtr exception
)

Parameters

actionToPerform
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft