Skip to main content
All docs
V26.1
  • SecureZipPolicy.Options.With(Nullable<Boolean>, Nullable<Boolean>) Method

    Returns a new Options instance with specified encryption and overwrite settings.

    Namespace: DevExpress.Utils.Zip

    Assembly: DevExpress.Data.v26.1.dll

    Declaration

    public SecureZipPolicy.Options With(
        bool? allowEncrypted,
        bool? allowOverwrite
    )

    Parameters

    Name Type Description
    allowEncrypted Nullable<Boolean>

    true if encrypted entries are allowed, otherwise, false. Pass null to keep the current value.

    allowOverwrite Nullable<Boolean>

    true if overwriting existing files is permitted, otherwise, false. Pass null to keep the current value.

    Returns

    Type Description
    SecureZipPolicy.Options

    A new Options instance with specified settings.

    See Also