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 or sets the HTTP version used for the response.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public Property ProtocolVersion As Version
public Version ProtocolVersion { get; set; }
public:
property Version^ ProtocolVersion {
    Version^ get ();
    void set (Version^ value);
}
member ProtocolVersion : Version with get, set
function get ProtocolVersion () : Version
function set ProtocolVersion (value : Version)

Property Value

Type: System. . :: . .Version
A Version object indicating the version of HTTP used when responding to the client. Note that this property is now obsolete.

Remarks

The capabilities of different HTTP versions are specified in the documents available at http://www.ietf.org.

.NET Framework Security

See Also

Reference

HttpListenerResponse Class

System.Net Namespace