X509.CertSubjectName Method
Get the subject name of an X.509 certificate.
Syntax
[C#]
public static string CertSubjectName(
string certFile,
string delimiter
)
[VB.NET]
Public Shared Function CertSubjectName ( _
certFile As String, _
delimiter As String _
) As String
Parameters
- certFile
- Filename of certificate file (or its base64 representation)
- delimiter
- Optional character for delimiter [default = semicolon ";"]
Return Value
Subject name or Empty string if error
Remarks
Use X509.QueryCert with query "subjectName" for more output options.
See Also
VB6/C equivalent: X509_CertSubjectName
[Contents] [Index]