📜  天蓝色上传图片但大小为零 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:23.489000             🧑  作者: Mango

代码示例1
var memoryStream = new MemoryStream();

        // "upload" is the object returned by fine uploader
        upload.InputStream.CopyTo(memoryStream);
        memoryStream.ToArray();

// After copying the contents to stream, initialize it's position
// back to zeroth location

        memoryStream.Seek(0, SeekOrigin.Begin);