The Chilkat Winrt zip AppendOneFileOrDirAsync takes a string path to a file or directory. However in WinRT you get a permission denied error when trying to access a file directly from a string path. You need to use a FileOpenPicker and get a StorageFile object. My question is how do I pass a StorageFile or StorageFolder to the ChilKat Winrt zip library? Do I have to read it into a byte array and use AppendData? Or is there another way that I can use something like zip.AppendOneFileOrDirAsync(StorageFolder, false)?
asked Jun 18 '15 at 10:12