HttpRequestWrapper::IsSecureConnection Property

 

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:
property bool IsSecureConnection {
	virtual bool get() override;
}

Property Value

Type: System::Boolean

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

.NET Framework
Available since 3.5
Return to top
Show: