Partager via


VssClientCertificateManager.GetClientAuthCertificates Method

Given a store location, returns the certificates in the store which: a. Are valid given the current date and time b. Can be used for client authentication

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

Syntax

'Declaration
Public Shared Function GetClientAuthCertificates ( _
    storeLocation As StoreLocation _
) As X509Certificate2Collection
public static X509Certificate2Collection GetClientAuthCertificates(
    StoreLocation storeLocation
)
public:
static X509Certificate2Collection^ GetClientAuthCertificates(
    StoreLocation storeLocation
)
static member GetClientAuthCertificates : 
        storeLocation:StoreLocation -> X509Certificate2Collection
public static function GetClientAuthCertificates(
    storeLocation : StoreLocation
) : X509Certificate2Collection

Parameters

Return Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate2Collection
The matching certificates from the store location

.NET Framework Security

See Also

Reference

VssClientCertificateManager Class

Microsoft.VisualStudio.Services.Client Namespace