Skip to content

Instantly share code, notes, and snippets.

@cakriwut
Created December 29, 2015 15:02
Show Gist options
  • Save cakriwut/1786bb2d210e0df30a44 to your computer and use it in GitHub Desktop.
Save cakriwut/1786bb2d210e0df30a44 to your computer and use it in GitHub Desktop.
FileStreamInfo.cs to be used with PostFilesWithRequest .
///<summary>
///When POSTing using PostFilesWithRequest, each individual files posted must bring metadata. So that the class can craete multipart request.
///</summary>
public class FileStreamInfo
{
public Stream InputStream { get; set; }
public string Filename { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment