Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Check path if it is in virtual device or not, writable or not

$
0
0

Hi everyone,

I'm currently making an application which encrypt file and users can decrypt the file anytime they want. After encrypting the file, I will delete the original file and when I decrypt, I will re-create the file to original position.

The question is : How can I check if the selected file or folder is in virtual device or removable devices such as CD-ROM ? Because we can not write file on them. 

And how to check if the path is writable or not :) .

Thank you :)



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>