共用方式為


RSAPKCS1KeyExchangeFormatter.Rng 屬性

定義

取得或設定於建立金鑰交換時所使用的隨機數字產生器演算法。

public:
 property System::Security::Cryptography::RandomNumberGenerator ^ Rng { System::Security::Cryptography::RandomNumberGenerator ^ get(); void set(System::Security::Cryptography::RandomNumberGenerator ^ value); };
public System.Security.Cryptography.RandomNumberGenerator? Rng { get; set; }
public System.Security.Cryptography.RandomNumberGenerator Rng { get; set; }
member this.Rng : System.Security.Cryptography.RandomNumberGenerator with get, set
Public Property Rng As RandomNumberGenerator

屬性值

要使用之隨機數字產生器演算法的執行個體。

備註

如果這個屬性是 null,則會使用預設的隨機數產生器演算法。

適用於

另請參閱