C# Class FapChat.Core.Snapchat.Helpers.IsolatedStorage

Datei anzeigen Open project: 0xdeafcafe/FapChat Class Usage Examples

Public Methods

Method Description
FileExists ( string path ) : bool

GetFileNameTypeFromMediaType ( string id, MediaType mediaType ) : string

RetrieveImageFile ( string path ) : BitmapImage

RetrieveVideoFile ( string path ) : IsolatedStorageFileStream

SaveFile ( string path, byte data ) : void

Method Details

FileExists() public static method

public static FileExists ( string path ) : bool
path string
return bool

GetFileNameTypeFromMediaType() public static method

public static GetFileNameTypeFromMediaType ( string id, MediaType mediaType ) : string
id string
mediaType MediaType
return string

RetrieveImageFile() public static method

public static RetrieveImageFile ( string path ) : BitmapImage
path string
return System.Windows.Media.Imaging.BitmapImage

RetrieveVideoFile() public static method

public static RetrieveVideoFile ( string path ) : IsolatedStorageFileStream
path string
return System.IO.IsolatedStorage.IsolatedStorageFileStream

SaveFile() public static method

public static SaveFile ( string path, byte data ) : void
path string
data byte
return void