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

適用於

另請參閱