Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- storeLocation 
 Type: System.Security.Cryptography.X509Certificates.StoreLocation- Store location from which to load certificates 
Return Value
Type: System.Security.Cryptography.X509Certificates.X509Certificate2Collection
The matching certificates from the store location
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.