Inside .aspx.cs:
Request.IsSecureConnection
Outside .aspx.cs means in custom class:
HttpContext.Current.Request.IsSecureConnection
Request.IsSecureConnection
Outside .aspx.cs means in custom class:
HttpContext.Current.Request.IsSecureConnection
No comments:
Post a Comment