wwHTTP::GetCertificates

Retrieves a list of certificates that are installed on the local machine as a collection.

The collection contains a set of objects that hold the raw certificate information as a .NET object as described here:

o.GetCertificates(lcStoreName, lcLocation)

Parameters

lcStoreName
The name of the certificate store to retrieve certificates from as a string. Default is "My". Other common values are "Root", "TrustedPublishers" etc.

Corresponds to string name values of the .NET settings:

StoreName Enum

lcLocation
The Certificate store location.

  • "CurrentUser" *
  • "LocalMachine"

Note: in order to use "LocalMachine" you need to Run as Administrator otherwise you won't have access to those registry keys.

Remarks

Requires wwDotnetBridge and .NET. The dependency is silently loaded meaning you have to explicitly load wwDotnetBridge.


See also:

Class wwHTTP

© West Wind Technologies, 2023 • Updated: 02/06/19
Comment or report problem with topic