KeyContainerPermissionAttribute.KeySpec Property

 

Gets or sets the key specification.

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

public int KeySpec { get; set; }

Property Value

Type: System.Int32

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

If no value is specified, the AT_KEYEXCHANGE value (1) is used. Valid values for this property are AT_KEYEXCHANGE (1) and AT_SIGNATURE (2).

.NET Framework
Available since 2.0
Return to top
Show: