Dela via


SmartCardPinCharacterPolicyOption Enum

Definition

Specifies the rules for characters in a smart card personal identification number (PIN).

public enum class SmartCardPinCharacterPolicyOption
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SmartCardPinCharacterPolicyOption
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SmartCardPinCharacterPolicyOption
var value = Windows.Devices.SmartCards.SmartCardPinCharacterPolicyOption.allow
Public Enum SmartCardPinCharacterPolicyOption
Inheritance
SmartCardPinCharacterPolicyOption
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Allow 0

Any of the characters in the specified character class can be in the PIN.

RequireAtLeastOne 1

At least one of the characters in the specified character class must be in the PIN.

Disallow 2

None of the characters in the specified character class can be in the PIN.

Applies to

See also