Skip to main content

ZipFileItem(String, String) Constructor

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Initializes a new instance of the ZipFileItem class with the specified name and file name.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v25.2.dll

NuGet Package: DevExpress.Document.Processor

Declaration

public ZipFileItem(
    string name,
    string fileName
)

Parameters

Name Type Description
name String

A string that specifies the name of the zip item.

fileName String

A string that is the path to the file being archived.

See Also