EncryptedPackageEnvelope Class
Represents an OLE compound file that contains an encrypted package.
Assembly: WindowsBase (in WindowsBase.dll)
| Name | Description | |
|---|---|---|
![]() | FileOpenAccess | Gets a value that specifies whether the file was opened with access to read, write, or both. |
![]() | PackageProperties | Gets the core package properties (such as Title and Subject) of the rights managed document. |
![]() | RightsManagementInformation | Gets the rights management information stored in the EncryptedPackageEnvelope; specifically, the PublishLicense and the UseLicenses stored in the OLE compound file that embodies the rights-management protected package |
![]() | StorageInfo | Gets an object that provides access to the compound file streams outside the encrypted package. |
| Name | Description | |
|---|---|---|
![]() | Close() | Closes the encrypted package and the OLE compound file that holds it. |
![]() ![]() | Create(Stream^, PublishLicense^, CryptoProvider^) | Creates and returns an EncryptedPackageEnvelope on the specified stream. |
![]() ![]() | Create(String^, PublishLicense^, CryptoProvider^) | Creates and returns an EncryptedPackageEnvelope and gives it the specified file name. |
![]() ![]() | CreateFromPackage(Stream^, Stream^, PublishLicense^, CryptoProvider^) | Creates and returns an EncryptedPackageEnvelope (on the specified stream) that uses the specified unencrypted package as its content. |
![]() ![]() | CreateFromPackage(String^, Stream^, PublishLicense^, CryptoProvider^) | Creates and returns an EncryptedPackageEnvelope that uses the specified unencrypted package as its content, and gives it the specified file name. |
![]() | Dispose() | Releases all resources used by the EncryptedPackageEnvelope. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the EncryptedPackageEnvelope and optionally releases the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | Flush() | Flush the stream for both the EncryptedPackageEnvelope and its package content. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPackage() | Gets the encrypted package inside the EncryptedPackageEnvelope. |
![]() | GetType() | |
![]() ![]() | IsEncryptedPackageEnvelope(Stream^) | Gets a value specifying whether the specified stream is an OLE compound file with an encrypted package stream. |
![]() ![]() | IsEncryptedPackageEnvelope(String^) | Gets a value specifying whether the specified file is an OLE compound file with an encrypted package stream. |
![]() | MemberwiseClone() | |
![]() ![]() | Open(Stream^) | Open the encrypted package in the specified stream. |
![]() ![]() | Open(String^) | Open the encrypted package in the specified file as read only and unshared. |
![]() ![]() | Open(String^, FileAccess) | Open the encrypted package in the specified file as unshared and with the specified access. |
![]() ![]() | Open(String^, FileAccess, FileShare) | Open the encrypted package in the specified file and gives it the specified access and sharing. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
EncryptedPackageEnvelope has no public constructors. An EncryptedPackageEnvelope is created by use of the static Create, CreateFromPackage, or Open methods.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



