asp.net.ph

HttpWorkerRequest.GetProtocol Method

System.Web Namespace   HttpWorkerRequest Class


When overridden in a derived class, returns the HTTP protocol ( HTTP or HTTPS ).

[ VB ]
<ComVisible ( False ) >
Overridable Public Function GetProtocol ( ) As String

[ C# ]
 [ ComVisible ( false ) ] 
public virtual string GetProtocol ( );

[ C++ ]
 [ ComVisible ( false ) ] 
public: virtual String* GetProtocol ( );

[ JScript ]
public ComVisible ( false ) 
function GetProtocol ( ) : String;

Return Value

HTTPS if the IsSecure method is true, otherwise HTTP.

See Also

HttpWorkerRequest Members   HttpRuntime Class Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph