HttpRequest::IsSecureConnection Property
.NET Framework (current version)
Gets a value indicating whether the HTTP connection uses secure sockets (that is, HTTPS).
Assembly: System.Web (in System.Web.dll)
The following code example determines whether the IsSecureConnection property is set to false. If it is, the SuppressContent property is set to true to stop the response from being sent.
.NET Framework
Available since 1.1
Available since 1.1
Show: