VssClientCertificateManager.ReadSpecifiedCertificateThumbprints Method
Reads (from the registry) the specified certificate thumbprints. Returns an empty array if no thumbprints are found. This method does not filter out duplicates.
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Shared Function ReadSpecifiedCertificateThumbprints ( _
machineOrUserLevel As StoreLocation _
) As String()
public static string[] ReadSpecifiedCertificateThumbprints(
StoreLocation machineOrUserLevel
)
public:
static array<String^>^ ReadSpecifiedCertificateThumbprints(
StoreLocation machineOrUserLevel
)
static member ReadSpecifiedCertificateThumbprints :
machineOrUserLevel:StoreLocation -> string[]
public static function ReadSpecifiedCertificateThumbprints(
machineOrUserLevel : StoreLocation
) : String[]
Parameters
machineOrUserLevel
Type: System.Security.Cryptography.X509Certificates.StoreLocationSpecifies HKLM vs. HKCU
Return Value
Type: array<System.String[]
.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.