Edit

Share via


StreamInfo.EncryptionOption Property

Definition

Gets the EncryptionOption setting for the stream.

public:
 property System::IO::Packaging::EncryptionOption EncryptionOption { System::IO::Packaging::EncryptionOption get(); };
public System.IO.Packaging.EncryptionOption EncryptionOption { get; }
member this.EncryptionOption : System.IO.Packaging.EncryptionOption
Public ReadOnly Property EncryptionOption As EncryptionOption

Property Value

The encryption option setting for the package stream.

Remarks

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

Applies to

See also