Back to product page
- Introduction
- License Agreement
- Objects
- Certificate
- Methods
- Properties
- BitCount
- CommonName
- Country
- Data
- FriendlyName
- Handle
- HasPrivateKey
- Issuer
- IssuerCommonName
- IssuerCountry
- IssuerEmail
- IssuerLocality
- IssuerOrganization
- IssuerState
- IssuerText
- IssuerUnit
- Locality
- Organization
- PrivateKey
- PublicKey
- PublicKeyOpenSSH
- PublicKeyRSA1
- PublicKeySSH
- SerialNumber
- SerialNumberDec
- SerialNumberHex
- State
- Text
- Unit
- ValidFrom
- ValidTo
- Version
- Certificates
- CertLocation
- CertStores
- Enumerations
- Certificate
- How to get support?
- Tehnical information
- Error list
Item property (CertLocation)
Returns list of certificate stores in specified location.
Type
A CertStores object. Reference to new instance of certificate store location.Syntax
- Basic
object.Item(Location)
The Item(object,Location) syntax has these parts:
The Item(object,Location) syntax has these parts:
object | An expression evaluating to an object of type CertLocation. |
Location | Required. A CertLocations enumeration, as described in settings. |
Remarks
The settings for Location are:Constant | Value | Description |
---|---|---|
CurrentUser | 0 | System stores at registry location HKEY_CURRENT_USER\Software\Microsoft\SystemCertificates. |
CurrentService | 1 | System stores at registry location HKEY_LOCAL_MACHINE\Software\Microsoft\Crytography\Services\ |
CurrentUserGroupPolicy | 2 | System stores at registry location HKEY_CURRENT_USER\Software\Policy\Microsoft\SystemCertificates. |
LocalMachineEnterprise | 3 | Contains certificates shared across domains in the enterprise and downloaded from the global enterprise directory. To synchronize the client's enterprise store, the enterprise directory is polled every eight hours and certificates are downloaded automatically in the background. |
LocalMachineGroupPolicy | 4 | System stores at registry location HKEY_LOCAL_MACHINE\Software\Policy\Microsoft\SystemCertificates. |
Services | 5 | System stores at registry location HKEY_LOCAL_MACHINE\Software\Microsoft\Cryptography\Services\ |
Users | 6 | System stores at registry location HKEY_USERS\ |
LocalMachine | 7 | System stores at registry location HKEY_LOCAL_MACHINE\Software\Microsoft\SystemCertificates. |
Memory | 8 | A certificate store in cached memory. |
This property will return instance of collection of certificates on selected location.