| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property EmailAddress As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Certificate Dim value As String value = instance.EmailAddress | |
| C# | |
|---|---|
public string EmailAddress {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property string* get_EmailAddress(); | |
Property Value
A string containing an email address.If the certificate has a Subject Alternative Name extension or Issuer Alternative Name, the first rfc822Name is returned. If no rfc822Name choice is found in the extension, the Subject Name field for the Email OID is returned. If the certificate does not have an email address embedded in the certificate, an empty string is returned.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code