'Extract zip file to C:\ProgramFiles\Folder c#
I have written code to extract zip file to C:\Program Files. But its giving unauthorized access. Please help. Its the requirement. I cant change the folder also.
Code:
ZipFile.ExtractToDirectory(archiveFileName, "C:\\Program Files");
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
