I need to upload a large video to a web server, along with some other parameters as a POST. This file is large, and on mobile devices is causing an out of memory exception at the step
Form.AddBinaryData(“file”, File.ReadAllBytes(“foo”));
as the entire file has to be loaded in memory for the upload
is there any way to avoid this and instead stream the file from the internal storage?