Share via


CimCredential Constructor (CertificateAuthenticationMechanism, String)

 

Creates and initializes a new instance of the CimCredential class based on a certificate authentication mechanism and a certificate thumbprint.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public CimCredential(
    CertificateAuthenticationMechanism authenticationMechanism,
    string certificateThumbprint
)
public:
CimCredential(
    CertificateAuthenticationMechanism authenticationMechanism,
    String^ certificateThumbprint
)
new : 
        authenticationMechanism:CertificateAuthenticationMechanism *
        certificateThumbprint:string -> CimCredential
Public Sub New (
    authenticationMechanism As CertificateAuthenticationMechanism,
    certificateThumbprint As String
)

Parameters

  • certificateThumbprint
    Type: System.String

    The certificate thumbprint.

See Also

CimCredential Overload
CimCredential Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top