VssClientCertificateManager.WriteDisableClientCertificates Method
Writes (to the registry) whether or not client certificates are disabled.
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Shared Sub WriteDisableClientCertificates ( _
disableClientCertificates As Boolean, _
machineOrUserLevel As StoreLocation _
)
public static void WriteDisableClientCertificates(
bool disableClientCertificates,
StoreLocation machineOrUserLevel
)
public:
static void WriteDisableClientCertificates(
bool disableClientCertificates,
StoreLocation machineOrUserLevel
)
static member WriteDisableClientCertificates :
disableClientCertificates:bool *
machineOrUserLevel:StoreLocation -> unit
public static function WriteDisableClientCertificates(
disableClientCertificates : boolean,
machineOrUserLevel : StoreLocation
)
Parameters
disableClientCertificates
Type: System.BooleanTrue to disable client certificates, false otherwise
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.