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,则使用默认的随机数生成器算法。

适用于

另请参阅