EncryptionOption Property
Collapse the table of content
Expand the table of content

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
Available since 3.0
Return to top
© 2015 Microsoft