Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HttpRequestMessage.Version Property

Definition

Namespace:
System.Net.Http
Assembly:
System.Net.Http.dll
Assemblies:
netstandard.dll, System.Net.Http.dll
Assembly:
netstandard.dll
Source:
HttpRequestMessage.cs
Source:
HttpRequestMessage.cs
Source:
HttpRequestMessage.cs
Source:
HttpRequestMessage.cs
Source:
HttpRequestMessage.cs

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.

Gets or sets the HTTP message version.

public:
 property Version ^ Version { Version ^ get(); void set(Version ^ value); };
public Version Version { get; set; }
member this.Version : Version with get, set
Public Property Version As Version

Property Value

The HTTP message version. The default value is 1.1.

Applies to


Feedback

Was this page helpful?