HttpRequestBase.RequestType Property


When overridden in a derived class, gets or sets the HTTP data-transfer method (GET or POST) that was used by the client.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual string RequestType { get; set; }

Property Value

Type: System.String

The HTTP data-transfer method type that was used by the client.

Exception Condition


.NET Framework
Available since 3.5
Return to top