Check if an incoming call is included in the Https web service

We want to make sure that any calls in our .asmx are https. I do not know how and where to check it. In our asmx, I assume I can check the HttpContext?

+3
source share
1 answer

Check this property:

HttpContext.Current.Request.IsSecureConnection
+6
source

Source: https://habr.com/ru/post/1719230/


All Articles