Created
March 31, 2014 09:33
-
-
Save eirikb/9888740 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static FileInformation GetFile(ClientContext clientContext, string fileRef) | |
{ | |
using (var clientContextHack = new ClientContext(clientContext.Url)) | |
{ | |
return File.OpenBinaryDirect(clientContextHack, fileRef); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment