[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets the version of HTTP to use for the request.
Assembly: System.Http (in System.Http.dll)
The HTTP version is set to a value other than 1.0 or 1.1.
The HttpWebRequest class supports only versions 1.0 and 1.1 of HTTP. Setting to a different version throws an exception.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.