读取后HttpPostedFileBase ContentLength = 0 我将json文件发送到服务器,并希望读取两次. [HttpPost]公共ActionResult CreateCases(字符串fileFormat,Guid键){var file = Request.Files [0];CheckFile(文件);创建(文件);返回Json();}公共对象Check(HttpPostedFileBase文件){var stream = file.InputS .. 发布时间:2021-05-07 19:09:45 c# filestream streamreader memorystream httpfilecollection C#/.NET