Find if a request is from a Secure Connection

By [)ia6l0 iii

Use the "IsSecureConnection" property of the HttpRequest object to find if a Request is from a HTTP or HTTPS connection

bool isSecure = Request.IsSecureConnection;

Find if a request is from a Secure Connection  (1069 Views)