Relative Content

Tag Archive for c#wpfsystem.io.file

Cannot read the file after creating it in WPF C#

I’m building a WPF app. I have a function to check and create a file. The issue I am encountering is, after creating the file, the next time I run the app, it throws Exception because I do not have admin privilege to read the file. How do I create the file so that even if users run the app without Administrator privilege, it can still read it?