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.
Writes (to the registry) the specified certificate thumbprints. This method will filter out duplicate thumbprints.
Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Shared Sub WriteSpecifiedCertificateThumbprints ( _
    thumbprints As String(), _
    machineOrUserLevel As StoreLocation _
)
public static void WriteSpecifiedCertificateThumbprints(
    string[] thumbprints,
    StoreLocation machineOrUserLevel
)
public:
static void WriteSpecifiedCertificateThumbprints(
    array<String^>^ thumbprints, 
    StoreLocation machineOrUserLevel
)
static member WriteSpecifiedCertificateThumbprints : 
        thumbprints:string[] * 
        machineOrUserLevel:StoreLocation -> unit
public static function WriteSpecifiedCertificateThumbprints(
    thumbprints : String[], 
    machineOrUserLevel : StoreLocation
)
Parameters
- thumbprints 
 Type: array<System.String[]- Thumbprints to write to the registry, or null for none 
- machineOrUserLevel 
 Type: System.Security.Cryptography.X509Certificates.StoreLocation- Specifies HKLM vs. HKCU 
.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.