When overridden in a derived class, returns the HTTP protocol (HTTP or HTTPS).
Syntax
public virtual
string GetProtocol ()
Returns
HTTPS if the HttpWorkerRequest.IsSecure method is true, otherwise HTTP.
Remarks
Requirements
Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0