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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.