I am able to get the entire file using CloudFilesProvider.GetObject. But not able to pass in a range to retrieve part of that object. Its supported by Swift, but the SDK doesnt support it.
System.IO.Stream stream = new System.IO.MemoryStream(110);
Dictionary<string, string> headers = new Dictionary<string,string>();
headers["Range"] = string.Format("bytes={0}-{1}", 0, 99);
cloudFilesProvider.GetObject("images", "test.jpg", stream, 4096, headers, region, false, null, false, null);
I get a System.ArgumentException with "The 'Range' header must be modified using the appropriate property or method."
Can someone help?