Xam.Plugin.FileSystem
2.0.1
dotnet add package Xam.Plugin.FileSystem --version 2.0.1
NuGet\Install-Package Xam.Plugin.FileSystem -Version 2.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xam.Plugin.FileSystem" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xam.Plugin.FileSystem" Version="2.0.1" />
<PackageReference Include="Xam.Plugin.FileSystem" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Xam.Plugin.FileSystem --version 2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xam.Plugin.FileSystem, 2.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Xam.Plugin.FileSystem@2.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Xam.Plugin.FileSystem&version=2.0.1
#tool nuget:?package=Xam.Plugin.FileSystem&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
File System Plugin
Provides a unified API to interface with a platform's native file system The API is modeled on System.IO and uses it where it makes sense to do so, with the addition of making IO operations asynchronous.
Features
- Provides wrappers for native file system objects (StorageItem for UWP or File/FolderInfo) which expose most of their functionality and can be used from shared .net standard assemblies
- Supports getting the original file system objects from abstractions in the native assemblies that created them.
- Provides standardized access to key file system areas that all platforms provide (app install folder, app exclusive data store folder)
- Provides standardized ways to prompt the user to pick files/folders using each platform's native UI, complying with sandboxing restrictions
Supported platforms
.NET10 on Windows/Android/macOS/iOS
Examples
Open a file in app install folder
var files = await CrossFileSystem.Current.LocalStorage().EnumerateFilesAsync();
var someFile = files.First();
var stream = await fileOne.OpenAsync(System.IO.FileAccess.Read);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-macos26.0 is compatible. net10.0-tvos was computed. net10.0-windows was computed. net10.0-windows10.0.22000 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
-
net10.0-android36.0
- No dependencies.
-
net10.0-ios26.0
- No dependencies.
-
net10.0-macos26.0
- No dependencies.
-
net10.0-windows10.0.22000
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Xam.Plugin.FileSystem:
| Repository | Stars |
|---|---|
|
Aftnet/RetriX
|
|
|
Aftnet/LibretroRT
Port of Libretro and cores to WinRT component
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.1 | 102 | 6/7/2026 |
| 2.0.0 | 100 | 6/3/2026 |
| 1.0.13 | 3,090 | 12/6/2020 |
| 1.0.12 | 1,469 | 8/3/2019 |
| 1.0.11 | 959 | 5/13/2019 |
| 1.0.10 | 3,872 | 6/23/2018 |
| 1.0.8 | 2,330 | 3/23/2018 |
| 0.2.7 | 1,519 | 3/23/2018 |
| 0.2.6 | 2,022 | 12/17/2017 |
| 0.2.5 | 1,587 | 12/16/2017 |
| 0.2.4 | 1,552 | 12/7/2017 |
| 0.2.3 | 1,546 | 12/6/2017 |
| 0.2.2 | 1,352 | 12/1/2017 |
| 0.2.1 | 1,351 | 11/30/2017 |
| 0.1.4 | 1,295 | 11/16/2017 |
| 0.1.3 | 1,252 | 11/10/2017 |
| 0.1.2 | 1,258 | 11/5/2017 |
| 0.1.1 | 1,262 | 11/5/2017 |