Comment de-zipper un fichier dans un répertoire en c#

static00065 -  
 Utilisateur anonyme -
Bonjour j'aimerais comme le dis le titre, un fichier zip

string startPath = "c:\example\start";
string zipPath = "c:\example\result.zip";
string extractPath = "c:\example\extract";
ZipFile.CreateFromDirectory(startPath, zipPath);
ZipFile.ExtractToDirectory(zipPath, extractPath);

1 réponse