編輯

共用方式為


HttpRequestBase.IsSecureConnection Property

Definition

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

public:
 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.

Exceptions

Applies to