---
UID: NF:certenroll.IX509PrivateKey.put_FriendlyName
title: IX509PrivateKey::put_FriendlyName (certenroll.h)
description: Specifies or retrieves a display name for the private key.
old-location: security\ix509privatekey_friendlyname_property.htm
tech.root: seccertenroll
ms.assetid: 93cd4fe0-5a08-4936-bbb0-6a723027e8c7
ms.date: 12/05/2018
ms.keywords: FriendlyName property [Security], FriendlyName property [Security],IX509PrivateKey interface, IX509PrivateKey interface [Security],FriendlyName property, IX509PrivateKey.FriendlyName, IX509PrivateKey.put_FriendlyName, IX509PrivateKey::FriendlyName, IX509PrivateKey::get_FriendlyName, IX509PrivateKey::put_FriendlyName, certenroll/IX509PrivateKey::FriendlyName, certenroll/IX509PrivateKey::get_FriendlyName, certenroll/IX509PrivateKey::put_FriendlyName, put_FriendlyName, security.ix509privatekey_friendlyname_property
f1_keywords:
- certenroll/IX509PrivateKey.FriendlyName
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.FriendlyName
- IX509PrivateKey.get_FriendlyName
- IX509PrivateKey.put_FriendlyName
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IX509PrivateKey::put_FriendlyName


## -description


The <b>FriendlyName</b> property specifies or retrieves a display name for the private key.

This property is read/write.


## -parameters


## -remarks



This property can contain any text and is intended to be displayed in a user interface to identify the private key.




## -see-also




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

 

