HttpRequestBase.IsSecureConnection 属性

定义

在派生类中重写时,获取一个值,该值指示 HTTP 连接是否使用安全套接字(HTTPS 协议)。

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

属性值

true 如果连接是使用 HTTPS 协议的 SSL 连接,则为 ;否则,为 false.

例外

适用于