Skip to content

ssandeepkumar538/XamarinPlugins.PCLSpecialFolder

 
 

Repository files navigation

PCL SpecialFolder

icon64 Build status

Support library for PCLStorage (Xamarin.Plugins).

SpecialFolder

OS-Specific folders.

Desktop Win8.1 WP8.1 UWP Android iOS Mac
Local o o o o o o o
Roaming o o o o - - -
Temporary o o o o - o o
Cache o - o o o o o
Documents o o o o - o o
Pictures o o o o o o o
Music o o o o o o o
Videos o o o o o o o
App o o o o - o o

Usage

using PCLStorage;
var localFolder = SpecialFolder.Current.Local;
var file = await localFolder.CreateFileAsync("test.txt", CreationCollisionOption.ReplaceExisting);

WinRT

You must declare the capability to be required by the package.appxmanifest.

<Capabilities>
 <Capability Name="picturesLibrary" />
 ...
</Capabilities>

Desktop

You need to set the company name in the AssemblyInfo.cs.

AssemblyInfo.cs
[assembly: AssemblyCompany("TestApp")]

License

Ms-PL

Link

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%