var stream = new MemoryStream(byteArray);. Copy .. and then pass that to the class constructor FromFile : IFormFile file = new FormFile(stream, 0, stream.
確定! 回上一頁