

The File class lets you create, delete, and read files, and the Directory class allows you to create, delete, or enumerate the contents of directories. The System.IO classes can be used to access the file system on each platform. NET Standard libraries.įor information on handling image files, refer to the Working with Images page.

NET Standard 2.0 it's possible to share file access code in. Alternatively, embedded resources are a simpler solution to distribute data files with an app. Previously, this meant that reading and writing files was most easily performed using the native file APIs on each platform. Xamarin.Forms code runs on multiple platforms - each of which has its own filesystem.

NET Standard library, or by using embedded resources. File handling with Xamarin.Forms can be achieved using code in a.
