Compartilhar via


CspKeyContainerInfo.RandomlyGenerated Property

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

Gets a value indicating whether a key container was randomly generated by a managed cryptography class.

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

Syntax

'Declaration
Public ReadOnly Property RandomlyGenerated As Boolean
public bool RandomlyGenerated { get; }

Property Value

Type: System.Boolean
true if the key container was randomly generated; otherwise, false.

Remarks

Usually, when a randomly generated key container is created, the key container is named "CLR{guid value}."

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.