Xamarin.CustomFileManager 1.0.1

A custom wrapper of FIle manager for both iOS and Android

Install-Package Xamarin.CustomFileManager -Version 1.0.1
dotnet add package Xamarin.CustomFileManager --version 1.0.1
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xamarin.CustomFileManager, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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);

    }

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);

    }

Release Notes

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

  • 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 History

Version Downloads Last updated
1.0.1 582 11/9/2018
1.0.0 359 11/7/2018