Export (0) Print
Expand All

KeyContainerPermissionAttribute.ProviderType Property

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.

If no value is specified, PROV_RSA_FULL (1) is used.

The following values are defined in the Wincrypt.h header file:

  • #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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft