ProtocolVersion Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the HTTP version used by the requesting client.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public ReadOnly Property ProtocolVersion As Version
public Version ProtocolVersion { get; }
public:
property Version^ ProtocolVersion {
Version^ get ();
}
member ProtocolVersion : Version with get
function get ProtocolVersion () : Version
Property Value
Type: System. . :: . .Version
A Version that identifies the client's version of HTTP.
Remarks
The capabilities of different HTTP versions are specified in the documents available at http://www.rfc-editor.org.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.