Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using System.IO in UWP apps?

is it possible/allowed to use System.IO in UWP apps? I thought to know that I'm not supposed to use it since in UWP, files are stored as StorageFile.

Now I want to provide methods to zip files in UWP. I've tried solving it following this thread. To use this solution, I would need to use System.IO. I didn't even test if this solution works because I am confused right now. I've been working on an UWP app for a bit longer than a month now and I'm pretty sure that I'm not supposed to use System.IO in UWP apps.

Am I missing a point here? Can we use System.IO in UWP?

like image 325
Dennis Schröer Avatar asked Apr 02 '26 21:04

Dennis Schröer


1 Answers

There's an entire MSDN page dedicated to this subject: System.IO namespaces for UWP apps.

The System.IO.Compression.ZipArchive class which this question appears to be about is supported for UWP since Windows 8.

like image 126
CodeCaster Avatar answered Apr 04 '26 11:04

CodeCaster



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!