Gets a value indicating whether the HTTP connection uses secure sockets (that is, HTTPS).
Syntax
public
bool IsSecureConnection { get; }
Value
returns true if the request is using https and false if not.
Remarks
Requirements
Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0