Share via


SmartCardPinPolicy.MaxLength Property

Definition

Gets or sets the maximum character length for a personal identification number (PIN) on a Trusted Platform Module (TPM) virtual smart card.

public:
 property unsigned int MaxLength { unsigned int get(); void set(unsigned int value); };
uint32_t MaxLength();

void MaxLength(uint32_t value);
public uint MaxLength { get; set; }
var uInt32 = smartCardPinPolicy.maxLength;
smartCardPinPolicy.maxLength = uInt32;
Public Property MaxLength As UInteger

Property Value

UInt32

unsigned int

uint32_t

The maximum character length.

Remarks

The lowest allowed maximum character length is 4.

The highest allowed maximum character length is 127.

The default maximum character length is 127.

Applies to

See also