語言

RsaProtectedConfigurationProvider.AddKey(Int32, Boolean) 方法

定義

將金鑰加入 RSA 金鑰容器。

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)

參數

keySize
Int32

要加的鑰匙大小。

exportable
Boolean

true用以表示該金鑰可匯出;否則,。 false

適用於

另請參閱