Export (0) Print
Expand All

StreamInfo.EncryptionOption Property

Gets the EncryptionOption setting for the stream.

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

public EncryptionOption EncryptionOption { get; }

Property Value

Type: System.IO.Packaging.EncryptionOption
The encryption option setting for the package stream.

If IDisposable.Dispose has been called on the stream, the EncryptionOption property returns EncryptionOption.None.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft