Subject Property
Collapse the table of content
Expand the table of content

X509Certificate.Subject Property

 

Gets the subject distinguished name from the certificate.

Namespace:   System.Security.Cryptography.X509Certificates
Assembly:  mscorlib (in mscorlib.dll)

Public ReadOnly Property Subject As String

Property Value

Type: System.String

The subject distinguished name from the certificate.

Exception Condition
CryptographicException

The certificate handle is invalid.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft