共用方式為


VssClientCertificateManager.WriteSpecifiedCertificateThumbprints Method

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

.NET Framework Security

See Also

Reference

VssClientCertificateManager Class

Microsoft.VisualStudio.Services.Client Namespace