編輯

共用方式為


RsaProtectedConfigurationProvider.AddKey(Int32, Boolean) Method

Definition

Adds a key to the RSA key container.

public:
 void AddKey(int keySize, bool exportable);
public void AddKey (int keySize, bool exportable);
member this.AddKey : int * bool -> unit
Public Sub AddKey (keySize As Integer, exportable As Boolean)

Parameters

keySize
Int32

The size of the key to add.

exportable
Boolean

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

Applies to

See also