I have the following piece of code in a .NET 6 app that copies some files to a different destination on the file system: As you can see, I'm passin ...
I have the following piece of code in a .NET 6 app that copies some files to a different destination on the file system: As you can see, I'm passin ...
I am trying to access an API however I was receiving an error code 401. I tried my endpoint on POSTMAN and it's working just fine. I was able to prov ...
Edit: I noticed this doesn't happen when I just do: File.WriteAllText(@"C:\Users\(usr)\Documents\Test\Data\test.txt", "0"); without Globals.dmp so evi ...
I want to save my Files in a more generic way than on Desktop. So i want to create my own Subfolder in Programs Folder, which i can use to save my stu ...
I've written a really simple Command Line app to check a private server for updated files. The app works fine, it's suposed to write a list of out-of ...
I have to create unit tests for a class that will internally enumerates files and folders. Of course I want to test whether it correctly handles fold ...
I am working on a desktop application that internally creates a StringBuilder that errors get appended to and ultimately gets written to a txt file. ...
I'm working on a Powershell script that starts from the Domain Controller of a network, and it accesses the local documents folder of every user on ev ...
Currently I have been loading xml files based on user input from a textbox in a UWP app I am making. The app itself is designed to edit existing files ...
I am using the code below to get the Files and the SubDirectories of a directory and then populate a TreeView control. I am getting an UnauthorizedAcc ...
I have written a code in C#. The code is loging into a file the following: CPU Usage RAM Usage Network card traffic Current time I want t ...
I coded this app in Visual Studio using C#. In this app, I have to access a binary file from a location using a browse button and choose a saving loca ...
https://developer.here.com/documentation/maps/dev_guide/topics/routing.html I am using here maps api for routing and it's showing api key error key ...
I'm developing a cross-platform application (UWP - Target version 16299, Android Target Version Pie and iOS; Visual Studio 2019 - Xamarin.Forms 4.1.0) ...
I am debugging my Xamarin.Android App alternately with 2 devices Samsung Galaxy Tab A (Android 9) 10" Tablet Huawei Honor 8 (Android 8) 5.2" Sma ...
I'm getting an error when starting a FileSystemWatcher for a path that contains an inaccessible folder. The folder is not accessible even by file syst ...
i'll just like create a new file on my C disk (and later on my network). i would like pick a file on a folder with an openFilePicker (that's works) a ...
I have some troubles. It's about this subject => System.UnauthorizedAccessException : Access to the path “/storage/[Name]/[nameFolder]/[fileName].t ...
UPDATE 1 I found out that if I reverse the order of my close/dispose then I get the error from dispose instead of close... so probably disposable pro ...
I've been working with C#, specifically the UWP/WPF framework(s), editing some of the subdirectories of C:\\ProgramData\\Microsoft\\Windows\\SystemDat ...