到目前为止我尝试了什么
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/vnd.ms-visio";
Response.WriteFile(file.FullName);
Response.End();
此文件属于FileInfo类型,我不知道如何将此.vsdx文件写入响应流。