玉米preSS与GZipStream一个文件,同时保持其的元数据玉米、文件、数据、GZipStream

由网友(苍白无力旳爱)分享简介:我怎样才能得到COM pressed文件的扩展名是COM pressed与 System.IO.Com pression.GZipStream ?例如,如果原始文件被命名为 Test.doc的和COM presses到 test.gz ,我怎么知道是干什么用的文件扩展名时DECOM pressing?解决方案 我前一...

我怎样才能得到COM pressed文件的扩展名是COM pressed与 System.IO.Com pression.GZipStream

例如,如果原始文件被命名为 Test.doc的和COM presses到 test.gz ,我怎么知道是干什么用的文件扩展名时DECOM pressing?

解决方案

我前一段时间做到这一点。解决的办法是使用J#库做。你还是把它写然而,在C#。

http://msdn.microsoft.com/en-us/magazine/ cc164129.aspx

2017中央一号文件,连续聚焦三农

这是微软的话题回答。

How can I get the extension of compressed file after being compressed with System.IO.Compression.GZipStream?

For example, if the original file is named test.doc and compresses to test.gz, how do I know what file extension to use when decompressing?

解决方案

I had to do this some time ago. The solution is to use the J# libraries to do it. You still write it in C# however.

http://msdn.microsoft.com/en-us/magazine/cc164129.aspx

That's microsofts answer on the topic.

阅读全文

相关推荐

最新文章