This documentation is archived and is not being maintained.

HttpWorkerRequest.IsSecure Method

Returns a value indicating whether the connection uses SSL.

[Visual Basic]
Public Overridable Function IsSecure() As Boolean
[C#]
public virtual bool IsSecure();
[C++]
public: virtual bool IsSecure();
[JScript]
public function IsSecure() : Boolean;

Return Value

true if the connection is an SSL connection; otherwise, false. The default is false.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

Show: