Gets or sets the protocol method used for the request. This property is reserved for future use.
abstract Method : string with get, set
override Method : string with get, set
Type: System.StringThe protocol method to use in this request.
The method is invalid.
- or -
The method is not supported.
- or -
Multiple methods were specified.
The Method property is currently not used by the FileWebRequest class.
The following code example sets the protocol method used for the request. Refer to the complete example in the FileWebRequest class.
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
.NET Framework Client Profile
Supported in: 4, 3.5 SP1