Partager via


RSAPKCS1KeyExchangeFormatter.Rng Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.Security.Cryptography
Assembly:  mscorlib.Extensions (in mscorlib.Extensions.dll)

Syntax

'Declaration
Public Property Rng As RandomNumberGenerator
public RandomNumberGenerator Rng { get; set; }

Property Value

Type: System.Security.Cryptography.RandomNumberGenerator
The instance of a random number generator algorithm to use.

Remarks

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

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.