Dart.Mail Namespace > Security Class : Protocols Property |
<DefaultValueAttribute()> Public Property Protocols As SslProtocols
Dim instance As Security Dim value As SslProtocols instance.Protocols = value value = instance.Protocols
[DefaultValue()] public SslProtocols Protocols {get; set;}
[DefaultValue()] public: __property SslProtocols get_Protocols(); public: __property void set_Protocols( SslProtocols value );
[DefaultValue()] public: property SslProtocols Protocols { SslProtocols get(); void set ( SslProtocols value); }
If 'None' is specified in .NET 4.7+ or .NET Core 2.0, the operating system will choose the best protocol to use during authentication, and block protocols that are not secure (with certain exceptions dependent upon the OS). For more information, see the 'Security Protocol' section of the 'Security Implementation' top-level help topic.
SSL2, SSL3, and Default should not be used due to their security vulnerabilities, and cannot be used in projects targeting .NET Core 2.0.