This code is from the ZipStorer project, which can be found at the following:
https://zipstorer.codeplex.com.

The code is released under the Microsoft Public License (Ms-PL), as found in
that project's license notice (https://zipstorer.codeplex.com/license).

The code is used as downloaded from the site, with the caveat that the top-
level class is changed from "public" to "internal" so as not to expose the
utility to users. For convenience, this file is duplicated in the .NET
code tree.