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.

sudha laksh114 reputationPosted Mar 9, 2017, 12:59 AM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Mar 8, 2017, 2:31 AM EST
naem name60 reputationPosted Mar 8, 2017, 3:47 AM EST
naem name60 reputationPosted Mar 8, 2017, 3:49 AM EST
sudha laksh114 reputationPosted Mar 8, 2017, 7:11 AM EST
var uri = new Uri(textbox.text);var requestType= uri.Scheme;naem name60 reputationPosted Mar 9, 2017, 9:29 PM EST
naem name60 reputationPosted Mar 8, 2017, 8:57 PM EST