docs.unity3d.com
    Show / Hide Table of Contents

    Class ZipUtility

    Inheritance
    Object
    ZipUtility
    Namespace: Unity.SharpZipLib.Utils
    Syntax
    public static class ZipUtility : object

    Methods

    CompressFolderToZip(String, String, String)

    Compresses the files in the nominated folder, and creates a zip file on disk.

    Declaration
    public static void CompressFolderToZip(string outPathname, string password, string folderName)
    Parameters
    Type Name Description
    String outPathname

    The path of the created zip file

    String password

    The password required to open the zip file. Set to null if not required.

    String folderName

    The folder to be compressed

    UncompressFromZip(String, String, String)

    Uncompress the contents of a zip file into the specified folder

    Declaration
    public static void UncompressFromZip(string archivePath, string password, string outFolder)
    Parameters
    Type Name Description
    String archivePath

    The path to the zip file

    String password

    The password required to open the zip file. Set to null if not required.

    String outFolder

    The output folder

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023