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




Gets or sets a value which determines the type of encryption to use on the data.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Gets and Sets the security protocol to be used.")>
<DefaultValueAttribute()>
<CategoryAttribute("Security")>
Public Property SecureProtocol As SecureProtocol
Visual Basic (Usage)Copy Code
Dim instance As Tcp
Dim value As SecureProtocol
 
instance.SecureProtocol = value
 
value = instance.SecureProtocol
C# 
[DescriptionAttribute("Gets and Sets the security protocol to be used.")]
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
public SecureProtocol SecureProtocol {get; set;}
Managed Extensions for C++ 
[DescriptionAttribute("Gets and Sets the security protocol to be used.")]
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
public: __property SecureProtocol get_SecureProtocol();
public: __property void set_SecureProtocol( 
   SecureProtocol value
);
C++/CLI 
[DescriptionAttribute("Gets and Sets the security protocol to be used.")]
[DefaultValueAttribute()]
[CategoryAttribute("Security")]
public:
property SecureProtocol SecureProtocol {
   SecureProtocol get();
   void set (    SecureProtocol value);
}

Property Value

A SecureProtocol value.

Remarks

Set this property to set the type of encryption to use on the data sent/received. This property defaults to SecureProtocol.None, signifying no encryption is used on the data.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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