This documentation is archived and is not being maintained.

EncryptedPackageEnvelope Methods

The EncryptedPackageEnvelope type exposes the following members.

Public method Close Closes the encrypted package and the OLE compound file that holds it.
Public method Static member Create Overloaded. Creates and returns an EncryptedPackageEnvelope.
Public method Static member CreateFromPackage Overloaded. Creates and returns an EncryptedPackageEnvelope that uses an existing unencrypted package as the source of its content.
Public method Dispose Overloaded. Releases the resources used by the EncryptedPackageEnvelope.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Flush the stream for both the EncryptedPackageEnvelope and its package content.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPackage Gets the encrypted package inside the EncryptedPackageEnvelope.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Static member IsEncryptedPackageEnvelope Overloaded. Gets a value specifying whether the file is an OLE compound file with an encrypted package stream
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Open Overloaded. Opens the encrypted package in an OLE compound file.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)