Error with SdCard sample


Line to create file is :

var file = new FileStream($@"{drive.Name}Test.txt", FileMode.OpenOrCreate);

But in this case name file is: “A:\\Test.txt” and it throw error VolumeNotFound.

With file name:“A:\\\\Test.txt”, it works.

I’m not sure if error comes from documentation or incorrect backslash treatment in Library.

It’s likely incorrect expectation of an additional slash in the library, thanks for the catch.