Advertisement
Guest User

Untitled

a guest
Mar 9th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.19 KB | None | 0 0
  1. using (Stream fs = File.OpenRead(fileInput))
  2. using (Stream fd = File.Create(FileOut))
  3. using (Stream csStream = new GZipStream(fd, CompressionMode.Compress))
  4. {
  5.     fs.CopyTo(csStream);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement