RsaProtectedConfigurationProvider.AddKey Method (Int32, Boolean)

 

Adds a key to the RSA key container.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public void AddKey(
	int keySize,
	bool exportable
)

Parameters

keySize
Type: System.Int32

The size of the key to add.

exportable
Type: System.Boolean

true to indicate that the key is exportable; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: