naem name

naem name

  • NA
  • 59
  • 6.8k

Difficulties in HttpContext

Mar 8 2017 7:06 AM
Hi all,
 
In windows form applicatio, I am trying to check whether the url provided is http or https.
for that I have a url provided by the user.
I want to check the url using:
HttpContext.Current.Request.IsSecureConnection
I also want to print the result in a text box or so.
I am finding difficulties in understanding the above line of code.
Thanks in advance. 

Answers (7)