---
UID: NF:certenroll.IX509PrivateKey.put_Pin
title: IX509PrivateKey::put_Pin (certenroll.h)
description: Specifies a personal identification number (PIN) that is used to authenticate users prior to accessing a private key container on a smart card.
old-location: security\ix509privatekey_pin.htm
tech.root: seccertenroll
ms.assetid: d81fad8a-767d-48c8-874a-c34843600b13
ms.date: 12/05/2018
ms.keywords: IX509PrivateKey interface [Security],Pin property, IX509PrivateKey.Pin, IX509PrivateKey.put_Pin, IX509PrivateKey::Pin, IX509PrivateKey::put_Pin, Pin property [Security], Pin property [Security],IX509PrivateKey interface, certenroll/IX509PrivateKey::Pin, certenroll/IX509PrivateKey::put_Pin, put_Pin, security.ix509privatekey_pin
f1_keywords:
- certenroll/IX509PrivateKey.Pin
dev_langs:
- c++
req.header: certenroll.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: Windows Vista [desktop apps only]
req.target-min-winversvr: Windows Server 2008 [desktop apps only]
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: CertEnroll.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- CertEnroll.dll
api_name:
- IX509PrivateKey.Pin
- IX509PrivateKey.put_Pin
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IX509PrivateKey::put_Pin


## -description


The <b>Pin</b> property specifies a personal identification number (PIN) that is used to authenticate users prior to accessing a private key container on a smart card.

This property is write-only.


## -parameters


## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/certenroll/nn-certenroll-ix509privatekey">IX509PrivateKey</a>
 

 

