title: How to use Web.GetFileById
body: <p>I've found the following <a href="https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.web.getfilebyid.aspx" rel="nofollow">link</a> on msdn and I've been struggeling to get it running. I had to use Microsoft.SharePoint.Client.dll from 16 hive (I'm using SharePoint 2013 server) inside Visual Studio to get no compile error. After running the following code, I got a "Method not found" exception:</p>
  
  <pre><code>        var clientContext = new ClientContext("http://myserver");
  
          var fileGuid = new Guid("D51C440B-4F52-4005-90BE-BDC42E850975");
          var file = clientContext.Web.GetFileById(fileGuid);
  
          clientContext.Load(file);
          clientContext.ExecuteQuery();
  </code></pre>
  
  <p>Please help me on what I'm doing wrong.</p>