我正在向浏览器发送文件以便在本地保存.这适用于除Microsoft Edge之外的所有浏览器,它使用guid替换文件名.必须使用特定文件名下载该文件,是否有针对此问题的解释或解决方法?我的回答“不使用Edge”将被拒绝.var response = new HttpResponseMessage(HttpStatusCode.OK){Content = new ByteArrayContent(CreateFile(fileContents))};response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream")...