Refit.StreamPart public class StreamPart : MultipartItem Allows the use of a generic Stream in a multipart form body. Documentation Code public Stream Value { get; } Gets the stream value. public StreamPart(Stream value, string fileName, string contentType = null, string name = null) Allows the use of a generic Stream in a multipart form body.