UWP: File.ReadAllBytes from file in Assets folder

Viewed 4623

How can I use File.ReadAllBytes()to read a file from the Assets folder into a byte[]? Therefore I need a filepath. I tried with ms-appx-web:///Assets/test.jpg, but that didn't worked. File.Exists() return false.

How do I get the absolute path to the assets folder?

1 Answers
Related