System.Net.ServicePoint.ProtocolVersion Property

Gets the version of the HTTP protocol that the System.Net.ServicePoint object uses.

Syntax

public virtual Version ProtocolVersion { get; }

Value

A Version instance containing the version of the protocol used by the System.Net.ServicePoint .

Remarks

The HTTP protocol versions are HTTP/1.0 and HTTP/1.1.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0