SyntaxFix
Write A Post
Hire A Developer
Questions
Request.Url will return you the Uri of the request. Once you have that, you can retrieve pretty much anything you want. To get the protocol, call the Scheme property.
Sample:
Uri url = Request.Url; string protocol = url.Scheme;
Hope this helps.