tags:

views:

67

answers:

1

What would be the easiest way to see if the site is in HTTPS?

I am using c#

+7  A: 

You can use:

HttpContext.Current.Request.IsSecureConnection
Jason Heine
perfect thank you