---
UID: NF:certenroll.ICspInformation.get_LegacyCsp
title: ICspInformation::get_LegacyCsp (certenroll.h)
description: Retrieves a Boolean value that specifies whether the provider is a Cryptography API:\_Next Generation (CNG) provider or a CryptoAPI (legacy) CSP.
old-location: security\icspinformation_legacycsp.htm
tech.root: seccertenroll
ms.assetid: f798401c-bc78-438d-8847-82a57589ce38
ms.date: 12/05/2018
ms.keywords: ICspInformation interface [Security],LegacyCsp property, ICspInformation.LegacyCsp, ICspInformation.get_LegacyCsp, ICspInformation::LegacyCsp, ICspInformation::get_LegacyCsp, LegacyCsp property [Security], LegacyCsp property [Security],ICspInformation interface, Microsoft Base Cryptographic Provider v1.0, Microsoft Base DSS Cryptographic Provider, Microsoft Base DSS and Diffie-Hellman Cryptographic Provider, Microsoft Base Smart Card Crypto Provider, Microsoft DH Schannel Cryptographic Provider, Microsoft Enhanced Cryptographic Provider v1.0, Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider, Microsoft Enhanced RSA and AES Cryptographic Provider, Microsoft RSA Schannel Cryptographic Provider, Microsoft Smart Card Key Storage Provider, Microsoft Software Key Storage Provider, Microsoft Strong Cryptographic Provider, certenroll/ICspInformation::LegacyCsp, certenroll/ICspInformation::get_LegacyCsp, get_LegacyCsp, security.icspinformation_legacycsp
f1_keywords:
- certenroll/ICspInformation.LegacyCsp
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:
- ICspInformation.LegacyCsp
- ICspInformation.get_LegacyCsp
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ICspInformation::get_LegacyCsp


## -description


The <b>LegacyCsp</b> property retrieves a Boolean value that specifies whether the provider is a Cryptography API: Next Generation (CNG) provider or a CryptoAPI (legacy) CSP. This property is web enabled.

This property is read-only.


## -parameters


## -see-also




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

 

