Skip to main content
All docs
V26.1
  • SecureZipPolicy.Options.CreateSnapshot(Boolean) Method

    Creates an immutable copy of the options. Captures the current global encryption policy so that subsequent SetEncryptionPolicy calls do not affect an already-opened archive.

    Namespace: DevExpress.Utils.Zip

    Assembly: DevExpress.Data.v26.1.dll

    Declaration

    public SecureZipPolicy.Options CreateSnapshot(
        bool contextAllowsEncryption = false
    )

    Optional Parameters

    Name Type Default Description
    contextAllowsEncryption Boolean False

    true if the context (parser/archive) allows encryption, otherwise, false.

    Returns

    Type Description
    SecureZipPolicy.Options

    An immutable snapshot of current options.

    See Also