I have problem with this visual c# uwp code when I am trying to save to text file with raspberry pi 3 with Windows 10 IoT.
Following error message appears
var path = @"urls.txt";
var folder = Windows.ApplicationModel.Package.Current.InstalledLocation;
var file = await folder.GetFileAsync(path);
var lines = await Windows.Storage.FileIO.ReadLinesAsync(file);
(lines) = textBoxRadio.Text;
(lines) = textBoxRadio2.Text;
await Windows.Storage.FileIO.WriteLinesAsync(file, lines);
Can someone help me?
Unhandled exception at 0x75DC0D6F (twinapi.appcore.dll) in blinky.exe: 0xC000027B: An application-internal exception has occurred
(parameters: 0x038CF1D0, 0x00000001). occurred
and the application halted.