Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

c# unzip files

 /// <summary>
        /// Unzip files using Extract to directory method
        /// </summary>
        /// <param name="zipPath">complet path and zipfilename</param>
        /// <param name="extractedPath">extracted files desitnation path</param>
        public static void UnZipToDir(string zipPath, string extractedPath)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipPath, extractedPath);

            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
        }
 
PREVIOUS NEXT
Tagged: #unzip #files
ADD COMMENT
Topic
Name
4+3 =