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 version of the HTTP protocol that is used in the response.

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 contains the HTTP protocol version of the response.

Remarks

The ProtocolVersion property contains the HTTP protocol version number of the response sent by the Internet resource.

.NET Framework Security

See Also

Reference

HttpWebResponse Class

System.Net Namespace