共用方式為


CspKeyContainerInfo.ProviderType Property

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

Gets the provider type of a key.

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

Syntax

'Declaration
Public ReadOnly Property ProviderType As Integer
public int ProviderType { get; }

Property Value

Type: System.Int32
The provider type. The default is 1.

Remarks

Valid values are determined by the cryptographic service provider used to create the key. Cryptographic service providers are generally organized into groups or families, each of which has its own set of data formats and processes. Two families that use the same algorithm, such as the RC2 block cipher, often use different padding schemes, different key lengths, and different default modes.

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.