Share via


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

屬性值

RandomNumberGenerator

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

備註

如果此屬性為 null ,則會使用預設的亂數產生器演算法。

適用於

另請參閱