EncryptedPackageEnvelope.IsEncryptedPackageEnvelope Method (Stream)

 

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

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

public static bool IsEncryptedPackageEnvelope(
	Stream stream
)

Parameters

stream
Type: System.IO.Stream

The stream that is tested.

Return Value

Type: System.Boolean

true if the specified stream is an OLE compound file with an encrypted package stream; otherwise, false.

Exception Condition
ArgumentNullException

stream is null.

.NET Framework
Available since 3.0
Return to top
Show: