使用system.io.compression [英] using system.io.compression
本文介绍了使用system.io.compression的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在ASP.NET应用程序中压缩流,并且我知道由于安全沙箱的原因,尝试将流数据写出到文件中可能会出现问题.有人可以告诉我是否可以使用GZipStream或DeflateStream压缩ASP.NET应用程序中的文件流吗?
I''d like to compress a stream in an ASP.NET application, and I am aware that there may be issues with attempting to write out stream data to a file because of the security sandbox. Can anybody tell me if it''s possible to compress a file stream in an ASP.NET application using a GZipStream or a DeflateStream?
推荐答案
在吗?
GZipStream [
Did you had a look at it?
GZipStream[^]
Looks like this is what you need! :thumbsup:
这篇关于使用system.io.compression的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文