zip - Windows phone 8 download then unzip to isolated storage -


I am writing a Windows Phone 8 application which has the following functions

  1. A ZIP Download the file from the Internet
  2. Remove it in separate storage

I am looking for a solution to deal with it, but not found once. Please help if you have any suggestions.

Thanks in advance!

Edit:

I've divided it in several steps:

  1. Check whether storage Available - Done

  2. Check if the file is compressed - Background to download in the local folder and display the information to the user Use the transfer (or other method) (percent, ect.) - not now

  3. not yet

  4. Do

  5. After that I ... -

for step 4 Some scripts modify the file to remove the separate storage (SharpGIS.UnZipper lib) to be removed:

  by using public async zero UnzipAndSaveFiles (stream stream, string name) {IsolatedStorageFile IsoStore = IsolatedStorageFile.GetUserStoreForApplication ()) {(Var zipStream = New Azper (stream)) {Foreach (string file in zipStream.FileNamesInZip) {string fileName = Path. GetFileName (file); If (! String.IsNullOrEmpty (fileName)) {StorageFolder folder = ApplicationData.Current.LocalFolder; Folder = Wait for the folder. Cretefolder Async ("html", Creation Collins option. Open if axis); Storage file file1 = wait for the folder. Create File Async (Name, CreationSyncrationOption. ReplaceExisting); // save file entry (var author = new streamer (waiting for file1.OpenStreamForWriteAsync ()) {author. Write (file); }}}}}}  

This code has not been checked (because I have not downloaded any file).

Can someone tell a thing that should be corrected (enhanced)? Can anyone help me remove password-protected file (obviously I have a key)?


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -