Class FileUtils

Inheritance
System.Object
FileUtils
Namespace: Catalog.Helpers
Assembly: Catalog.dll
Syntax
public static class FileUtils

Methods

CopyFileToTempFolderAsync(Uri)

Declaration
public static async Task<StorageFile> CopyFileToTempFolderAsync(Uri fileToCopy)
Parameters
Type Name Description
System.Uri fileToCopy
Returns
Type Description
System.Threading.Tasks.Task<Windows.Storage.StorageFile>

PickFileToOpenAsync(String)

Declaration
public static async Task<StorageFile> PickFileToOpenAsync(string extension)
Parameters
Type Name Description
System.String extension
Returns
Type Description
System.Threading.Tasks.Task<Windows.Storage.StorageFile>

PickFileToOpenAsync(String[])

Declaration
public static async Task<StorageFile> PickFileToOpenAsync(string[] extensions)
Parameters
Type Name Description
System.String[] extensions
Returns
Type Description
System.Threading.Tasks.Task<Windows.Storage.StorageFile>

PickFileToSaveAsync(String)

Declaration
public static async Task<StorageFile> PickFileToSaveAsync(string extension)
Parameters
Type Name Description
System.String extension
Returns
Type Description
System.Threading.Tasks.Task<Windows.Storage.StorageFile>

PickMultipleFiles(String)

Declaration
public static async Task<IEnumerable<StorageFile>> PickMultipleFiles(string extension)
Parameters
Type Name Description
System.String extension
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Windows.Storage.StorageFile>>

PickMultipleFiles(String[])

Declaration
public static async Task<IEnumerable<StorageFile>> PickMultipleFiles(string[] extensions)
Parameters
Type Name Description
System.String[] extensions
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Windows.Storage.StorageFile>>