title: How do I get protocol version from System.Web.HttpRequest?
body: <p>I have an Nginx server reverse-proxying my IIS server running af .NET Runtime 4 Web Forms application.</p>
  
  <p>I'm trying to find out what HTTP version (1.0 or 1.1) Nginx is using when making requests to the IIS.</p>
  
  <p>How do I get the HTTP version from the current request?</p>
  
  <p>I've tried searching and looking through the documentation. Closest I've found is the <a href="https://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.protocolversion(v=vs.110).aspx" rel="nofollow noreferrer"><code>ProtocolVersion</code></a> of <code>System.Net.HttpWebRequest</code> but <code>HttpRequest</code> doesn't have the same property and it seems I can't cast it.</p>
  
  <p><em>(BTW: I realise that the HTTP version rarely matter these days but it's in relation to some debugging I'm doing)</em></p>