EncryptedPackageEnvelope Class

EncryptedPackageEnvelope Class

 

Represents an OLE compound file that contains an encrypted package.

Namespace:   System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

System.Object
  System.IO.Packaging.EncryptedPackageEnvelope

public class EncryptedPackageEnvelope : IDisposable

NameDescription
System_CAPS_pubpropertyFileOpenAccess

Gets a value that specifies whether the file was opened with access to read, write, or both.

System_CAPS_pubpropertyPackageProperties

Gets the core package properties (such as Title and Subject) of the rights managed document.

System_CAPS_pubpropertyRightsManagementInformation

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

System_CAPS_pubpropertyStorageInfo

Gets an object that provides access to the compound file streams outside the encrypted package.

NameDescription
System_CAPS_pubmethodClose()

Closes the encrypted package and the OLE compound file that holds it.

System_CAPS_pubmethodSystem_CAPS_staticCreate(Stream, PublishLicense, CryptoProvider)

Creates and returns an EncryptedPackageEnvelope on the specified stream.

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, PublishLicense, CryptoProvider)

Creates and returns an EncryptedPackageEnvelope and gives it the specified file name.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromPackage(Stream, Stream, PublishLicense, CryptoProvider)

Creates and returns an EncryptedPackageEnvelope (on the specified stream) that uses the specified unencrypted package as its content.

System_CAPS_pubmethodSystem_CAPS_staticCreateFromPackage(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.

System_CAPS_pubmethodDispose()

Releases all resources used by the EncryptedPackageEnvelope.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the EncryptedPackageEnvelope and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Flush the stream for both the EncryptedPackageEnvelope and its package content.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetPackage()

Gets the encrypted package inside the EncryptedPackageEnvelope.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticIsEncryptedPackageEnvelope(Stream)

Gets a value specifying whether the specified stream is an OLE compound file with an encrypted package stream.

System_CAPS_pubmethodSystem_CAPS_staticIsEncryptedPackageEnvelope(String)

Gets a value specifying whether the specified file is an OLE compound file with an encrypted package stream.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticOpen(Stream)

Open the encrypted package in the specified stream.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String)

Open the encrypted package in the specified file as read only and unshared.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, FileAccess)

Open the encrypted package in the specified file as unshared and with the specified access.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, FileAccess, FileShare)

Open the encrypted package in the specified file and gives it the specified access and sharing.

System_CAPS_pubmethodToString()

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.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft