SmartCardPinPolicy.MaxLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.