Share via


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

See Also

Reference

HttpListenerRequest Class

System.Net Namespace