This documentation is archived and is not being maintained.

RSAPKCS1KeyExchangeFormatter.Rng Property

Gets or sets the random number generator algorithm to use in the creation of the key exchange.

[Visual Basic]
Public Property Rng As RandomNumberGenerator
public RandomNumberGenerator Rng {get; set;}
public: __property RandomNumberGenerator* get_Rng();
public: __property void set_Rng(RandomNumberGenerator*);
public function get Rng() : RandomNumberGenerator;
public function set Rng(RandomNumberGenerator);

Property Value

The instance of a random number generator algorithm to use.


If this property is a null reference (Nothing in Visual Basic), the default random number generator algorithm is used.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

RSAPKCS1KeyExchangeFormatter Class | RSAPKCS1KeyExchangeFormatter Members | System.Security.Cryptography Namespace | Cryptographic Services