EncryptedPackageEnvelope Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an OLE compound file that contains an encrypted package.
public ref class EncryptedPackageEnvelope : IDisposable
public class EncryptedPackageEnvelope : IDisposable
type EncryptedPackageEnvelope = class
interface IDisposable
Public Class EncryptedPackageEnvelope
Implements IDisposable
- Inheritance
-
EncryptedPackageEnvelope
- Implements
EncryptedPackageEnvelope has no public constructors. An EncryptedPackageEnvelope is created by use of the static Create, CreateFromPackage, or Open methods.
File |
Gets a value that specifies whether the file was opened with access to read, write, or both. |
Package |
Gets the core package properties (such as Title and Subject) of the rights managed document. |
Rights |
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. |
Storage |
Gets an object that provides access to the compound file streams outside the encrypted package. |
Close() |
Closes the encrypted package and the OLE compound file that holds it. |
Create(Stream, Publish |
Creates and returns an EncryptedPackageEnvelope on the specified stream. |
Create(String, Publish |
Creates and returns an EncryptedPackageEnvelope and gives it the specified file name. |
Create |
Creates and returns an EncryptedPackageEnvelope (on the specified stream) that uses the specified unencrypted package as its content. |
Create |
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) |
Flush() |
Flush the stream for both the EncryptedPackageEnvelope and its package content. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the encrypted package inside the EncryptedPackageEnvelope. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Is |
Gets a value specifying whether the specified stream is an OLE compound file with an encrypted package stream. |
Is |
Gets a value specifying whether the specified file is an OLE compound file with an encrypted package stream. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Open(Stream) |
Open the encrypted package in the specified stream. |
Open(String, File |
Open the encrypted package in the specified file and gives it the specified access and sharing. |
Open(String, File |
Open the encrypted package in the specified file as unshared and with the specified access. |
Open(String) |
Open the encrypted package in the specified file as read only and unshared. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: