Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using (Stream fs = File.OpenRead(fileInput))
- using (Stream fd = File.Create(FileOut))
- using (Stream csStream = new GZipStream(fd, CompressionMode.Compress))
- {
- fs.CopyTo(csStream);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement