I am using below code to unzip my file. It works perfectly on local machine. But when I host this code on server it does Unzip file perfectly, but it waits there to finish something. Don't know why it's waiting.
Shell32.ShellClass sc = new Shell32.ShellClass();
Shell32.Folder SourceFolder = sc.NameSpace(@"C:\TEMP\File.zip");
Shell32.Folder DestFolder = sc.NameSpace(@"C:\TEMP");
Shell32.FolderItems items = SourceFolder.Items();
DestFolder.CopyHere(items, 4 | 16);