KeyContainerPermissionAccessEntry.ProviderType Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the provider type.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public int ProviderType { get; set; }

Property Value

Type: System.Int32

One of the PROV_ values defined in the Wincrypt.h header file.

Exception Condition
ArgumentException

The resulting entry would have unrestricted access.

The default value is –1, representing all possible values.

The Wincrypt.h header file defines the following values:

  • #define PROV_RSA_FULL 1

  • #define PROV_RSA_SIG 2

  • #define PROV_DSS 3

  • #define PROV_FORTEZZA 4

  • #define PROV_MS_EXCHANGE 5

  • #define PROV_SSL 6

  • #define PROV_RSA_SCHANNEL 12

  • #define PROV_DSS_DH 13

  • #define PROV_EC_ECDSA_SIG 14

  • #define PROV_EC_ECNRA_SIG 15

  • #define PROV_EC_ECDSA_FULL 16

  • #define PROV_EC_ECNRA_FULL 17

  • #define PROV_DH_SCHANNEL 18

  • #define PROV_SPYRUS_LYNKS 20

  • #define PROV_RNG 21

  • #define PROV_INTEL_SEC 22

  • #define PROV_REPLACE_OWF 23

  • #define PROV_RSA_AES 24

.NET Framework
Available since 2.0
Return to top
Show: