IRegiisUtility.ProtectedConfigAction Method

Definition

Allows specific manipulation of configuration sections and assembly-key containers based on the supplied parameters.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 void ProtectedConfigAction(long actionToPerform, System::String ^ firstArgument, System::String ^ secondArgument, System::String ^ providerName, System::String ^ appPath, System::String ^ site, System::String ^ cspOrLocation, int keySize, [Runtime::InteropServices::Out] IntPtr % exception);
public void ProtectedConfigAction (long actionToPerform, string firstArgument, string secondArgument, string providerName, string appPath, string site, string cspOrLocation, int keySize, out IntPtr exception);
abstract member ProtectedConfigAction : int64 * string * string * string * string * string * string * int * nativeint -> unit
Public Sub ProtectedConfigAction (actionToPerform As Long, firstArgument As String, secondArgument As String, providerName As String, appPath As String, site As String, cspOrLocation As String, keySize As Integer, ByRef exception As IntPtr)

Parameters

actionToPerform
Int64

The type of action to perform.

firstArgument
String

A configuration section or assembly-key container name.

secondArgument
String

The configuration file name or account name.

providerName
String

The provider name.

appPath
String

The application path.

site
String

The site reference.

cspOrLocation
String

The configuration location.

keySize
Int32

The size of the key.

exception
IntPtr

nativeint

The exception to display.

Applies to