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




Gets or sets a value that determines if certificate authentication is used.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<CategoryAttribute("Security")>
<DescriptionAttribute("Authenticate the Certificate received.")>
Public Property UseAuthentication As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Tcp
Dim value As Boolean
 
instance.UseAuthentication = value
 
value = instance.UseAuthentication
C# 
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
[DescriptionAttribute("Authenticate the Certificate received.")]
public bool UseAuthentication {get; set;}
Managed Extensions for C++ 
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
[DescriptionAttribute("Authenticate the Certificate received.")]
public: __property bool get_UseAuthentication();
public: __property void set_UseAuthentication( 
   bool value
);
C++/CLI 
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
[DescriptionAttribute("Authenticate the Certificate received.")]
public:
property bool UseAuthentication {
   bool get();
   void set (    bool value);
}

Property Value

A Boolean value which determines if certificate authentication is used. Defaults to true.

Remarks

If set to true, you must control the acceptance/denial of certificates in the CertificateReceived event. If set to false, all certificates will be accepted no matter if they are valid or invalid.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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