IsSecureConnection Property

HttpRequestBase.IsSecureConnection Property

 

When overridden in a derived class, gets a value that indicates whether the HTTP connection uses secure sockets (HTTPS protocol).

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual bool IsSecureConnection { get; }

Property Value

Type: System.Boolean

true if the connection is an SSL connection that uses HTTPS protocol; otherwise, false.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft