HttpRequest.IsSecureConnection Property
.NET Framework 3.0
Gets a value indicting whether the HTTP connection uses secure sockets (that is, HTTPS).
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
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.
Community Additions
ADD
Show: