Thursday 22 August 2013

How to Verify the website is secured HTTPS using asp.net

Inside .aspx.cs:

Request.IsSecureConnection

Outside .aspx.cs means in custom class:

HttpContext.Current.Request.IsSecureConnection

No comments:

Post a Comment