Reputation:
What would be the easiest way to see if the site is in HTTPS?
I am using c#
Upvotes: 0
Views: 614
Reputation: 21312
You can use:
HttpContext.Current.Request.IsSecureConnection
Upvotes: 9