VssClientCertificateManager.ReadDisableClientCertificates Method
Reads (from 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 Function ReadDisableClientCertificates ( _
machineOrUserLevel As StoreLocation _
) As Nullable(Of Boolean)
public static Nullable<bool> ReadDisableClientCertificates(
StoreLocation machineOrUserLevel
)
public:
static Nullable<bool> ReadDisableClientCertificates(
StoreLocation machineOrUserLevel
)
static member ReadDisableClientCertificates :
machineOrUserLevel:StoreLocation -> Nullable<bool>
public static function ReadDisableClientCertificates(
machineOrUserLevel : StoreLocation
) : Nullable<boolean>
Parameters
machineOrUserLevel
Type: System.Security.Cryptography.X509Certificates.StoreLocationSpecifies HKLM vs. HKCU
Return Value
Type: System.Nullable<Boolean>
True, false, or null
.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.