WebRequestMethods.File Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the types of file protocol methods that can be used with a FILE request. This class cannot be inherited.
public: ref class WebRequestMethods::File abstract sealed
public static class WebRequestMethods.File
type WebRequestMethods.File = class
Public Class WebRequestMethods.File
- Inheritance
-
WebRequestMethods.File
The members of this class can be used to set the Method property that determines the protocol method that is to be used to perform a requested action, such as copying and retrieving a file.
Download |
Represents the FILE GET protocol method that is used to retrieve a file from a specified location. |
Upload |
Represents the FILE PUT protocol method that is used to copy a file to a specified location. |
Product | Versions |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: