PowerTCP Mail for .NET
EmailAddress Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Certificate Class : EmailAddress Property




Returns an email address string associated with the certificate.

Syntax

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();
C++/CLI 
public:
property String^ EmailAddress {
   String^ get();
}

Property Value

A string containing an email address.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.