Opens a package on a given IO stream.
public static Package Open(
The IO stream on which to open the package.
stream is null.
The package to open requires read or read/write permission and the specified stream is write-only; or, the package to open requires write or read/write permission and the specified stream is read-only.
ZipPackage is the default package type that is used by the Open method.
For additional information, see the Open Packaging Conventions (OPC) specification available for download at http://go.microsoft.com/fwlink/?LinkID=71255.