HttpRequestBase.IsSecureConnection Property


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

 virtual property bool IsSecureConnection { bool get(); };
public virtual bool IsSecureConnection { get; }
member this.IsSecureConnection : bool
Public Overridable ReadOnly Property IsSecureConnection As Boolean

Property Value

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


Applies to