I need to retrieve an image from a sharepoint library from code running (behind) an application page in an autohosted remote web application. I am able to query the library and find the fileref ok.. but get an error trying OpenBinaryDirect.
FileInformation fileInfo = Microsoft.SharePoint.Client.File.OpenBinaryDirect(_context, fileRef + "?noredirect=true");