I want to unzip .zip file in removable sd card. I am selecting .zip file using file picker. After selecting the file i get a path like this "content://com.android.externalstorage.documents/document/13E7-3B0A%3Azipfolder.zip" and after selecting the folder to unzip that file on selected location it gives some path like this "content://com.android.externalstorage.documents/tree/13E7-3B0A%3ALOST.DIR". After that i am using a method to unzip .zip file
System.IO.Compression.ZipFile.ExtractToDirectory("content://com.android.externalstorage.documents/document/13E7-3B0A%3Azipfolder.zip", "content://com.android.externalstorage.documents/tree/13E7-3B0A%3ALOST.DIR"); but it gives the error which is mentioned below:
Unhandled Exception:
System.UnauthorizedAccessException: Access to the path "/content:" is denied. occurred
I have also tried to give runtime but still i am getting same error. Please help me because i have given too much time on this