Xamarin.CustomFileManager 1.0.1

dotnet add package Xamarin.CustomFileManager --version 1.0.1
NuGet\Install-Package Xamarin.CustomFileManager -Version 1.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="Xamarin.CustomFileManager" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.CustomFileManager --version 1.0.1
#r "nuget: Xamarin.CustomFileManager, 1.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.
// Install Xamarin.CustomFileManager as a Cake Addin
#addin nuget:?package=Xamarin.CustomFileManager&version=1.0.1

// Install Xamarin.CustomFileManager as a Cake Tool
#tool nuget:?package=Xamarin.CustomFileManager&version=1.0.1

CustomFileManager

A cross platform custom wrapper for FileManager on iOS and Android<

Usage:

```` 
    using Subsystems.CustomFileManager.External;

````

... ...

    private CMPFileManagerProxy _fileProxy;

Initialize

    _fileProxy = new CMPFileManagerProxy(System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal));    

CreateAsync

    private async Task CreateAsync()
    {

        await _fileProxy.CreateFileAsync("file1.txt", Encoding.UTF8.GetBytes("test content2432423"),
                                         FileCreationType.Overwrite);

    }

GetContentsAsync

    private async Task GetContentsAsync()
    {

        var bytes = await _fileProxy.GetContentsAsync("file1.txt");
        Console.WriteLine(bytes);

    }

RemoveFileAsync

   private async Task RemoveFileAsync()
    {

        var couldRemove = await _fileProxy.RemoveFileAsync("file1.txt");
        Console.WriteLine(couldRemove);

    }

Product Compatible and additional computed target framework versions.
MonoAndroid monoandroid90 is compatible. 
Xamarin.iOS xamarinios10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • MonoAndroid 9.0

    • No dependencies.
  • Xamarin.iOS 1.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Xamarin.CustomFileManager:

Package Downloads
Xamarin.CustomCache

A Shared Xamarin component for Caching custom data on to disk

Xamarin.ImageLoader

A Reusable component to Download Image directly from URL. This also supportes Caching the downloaded images efficiently

Xamarin.CustomImageView.iOS

A custom ImageView component for iOS with inteligent Caching, Handle Cache expiry, Automatic Download

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 1,095 11/9/2018
1.0.0 689 11/7/2018

1. Returns only Singleton instance
2. Better thead safe
3. Code refactoring