Click or drag to resize
ZipProvider Class
Class for work with ZIP archives.
Inheritance Hierarchy
SystemObject
  CMS.IO.ZipZipProvider

Namespace: CMS.IO.Zip
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax
C#
public class ZipProvider : IEnumerable<ZipEntry>, 
	IEnumerable, IDisposable

The ZipProvider type exposes the following members.

Constructors
  NameDescription
Public methodZipProvider
Constructor - Creates ZIP provider.
Top
Methods
  NameDescription
Public methodAddDirectory(String)
Adds directory to archive.
Public methodAddDirectory(String, Boolean)
Adds directory to archive.
Public methodAddFile
Adds file to archive.
Public methodAddFileFromStream
Adds the file from the given stream to the archive.
Public methodDispose
Disposes managed and unmanaged resources.
Protected methodDispose(Boolean)
Disposes managed and unmanaged resources.
Public methodExtract
Extraxts entry from archive.
Public methodExtractAll(String)
Extracts all entries of the specific archive.
Public methodExtractAll(String, Boolean)
Extracts all entries of the specific archive.
Protected methodFinalize
Destructor.
(Overrides ObjectFinalize.)
Public methodGetEnumerator
Gets the enumerator.
Public methodStatic memberRead(String)
Reades specific archive.
Public methodStatic memberRead(String, Boolean)
Reades specific archive.
Public methodSave
Saves created archive.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodBatchZipEntry
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToHashSetZipEntry
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToListZipEntry, TTo
Converts the given collection to a list of values
(Defined by BaseExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
Properties
  NameDescription
Public propertyItem
Gets the entry from archive.
Public propertyName
Gets name.
Top
See Also