Export (0) Print
Expand All

ServicePointManager.SecurityProtocol Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets or sets the security protocol used by the service points managed by the ServicePointManager.

[Visual Basic]
Public Shared Property SecurityProtocol As SecurityProtocolType
[C#]
public static SecurityProtocolType SecurityProtocol {get; set;}
[C++]
public: __property static SecurityProtocolType get_SecurityProtocol();
public: __property static void set_SecurityProtocol(SecurityProtocolType);
[JScript]
public static function get SecurityProtocol() : SecurityProtocolType;
public static function set SecurityProtocol(SecurityProtocolType);

Property Value

One of the values defined in the SecurityProtocolType enumeration.

Exceptions

Exception Type Condition
NotSupportedException The value specified to set the property is not a valid SecurityProtocolType enumeration value.

Remarks

This property selects a secure sockets layer (SSL) protocol for new connections that use the Secure Hypertext Transfer Protocol (https) scheme only; existing connections are not changed.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ServicePointManager Class | ServicePointManager Members | System.Net Namespace

Show:
© 2014 Microsoft