Edit

Share via


X509Certificate.Subject Property

Definition

Gets the subject distinguished name from the certificate.

public:
 property System::String ^ Subject { System::String ^ get(); };
public string Subject { get; }
member this.Subject : string
Public ReadOnly Property Subject As String

Property Value

The subject distinguished name from the certificate.

Exceptions

The certificate handle is invalid.

Applies to