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
machineOrUserLevel
Type: System.Security.Cryptography.X509Certificates.StoreLocationSpecifies 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.