C# Class Microsoft.HockeyApp.HockeyPlatformHelperWPF

HockeyPlatformHelperWPF class.
Inheritance: IHockeyPlatformHelper
Datei anzeigen Open project: bitstadium/HockeySDK-Windows

Public Methods

Method Description
DeleteFileAsync ( string fileName, string folderName = null ) : Task

Deletes file.

FileExistsAsync ( string fileName, string folderName = null ) : Task

Determines if file exists.

GetFileNamesAsync ( string folderName = null, string fileNamePattern = null ) : Task>

Gets file names.

GetStreamAsync ( string fileName, string folderName = null ) : Task

Gets stream.

RemoveSettingValue ( string key ) : void

Removes setting value.

WriteStreamToFileAsync ( Stream dataStream, string fileName, string folderName = null ) : System.Threading.Tasks.Task

Writes stream to file.

WriteStreamToFileSync ( Stream dataStream, string fileName, string folderName = null ) : void

Writes stream to file.

Private Methods

Method Description
GetSettingValue ( string key ) : string
PostfixWithUniqueAppString ( string folderName, bool noDirectorySeparator = false ) : string
SetSettingValue ( string key, string value ) : void

Method Details

DeleteFileAsync() public method

Deletes file.
public DeleteFileAsync ( string fileName, string folderName = null ) : Task
fileName string File name.
folderName string Folder name.
return Task

FileExistsAsync() public method

Determines if file exists.
public FileExistsAsync ( string fileName, string folderName = null ) : Task
fileName string File name.
folderName string Folder name.
return Task

GetFileNamesAsync() public method

Gets file names.
public GetFileNamesAsync ( string folderName = null, string fileNamePattern = null ) : Task>
folderName string Folder name.
fileNamePattern string File name pattern.
return Task>

GetStreamAsync() public method

Gets stream.
public GetStreamAsync ( string fileName, string folderName = null ) : Task
fileName string File name.
folderName string Folder name.
return Task

RemoveSettingValue() public method

Removes setting value.
public RemoveSettingValue ( string key ) : void
key string Key.
return void

WriteStreamToFileAsync() public method

Writes stream to file.
public WriteStreamToFileAsync ( Stream dataStream, string fileName, string folderName = null ) : System.Threading.Tasks.Task
dataStream Stream Data stream.
fileName string File name.
folderName string Folder name.
return System.Threading.Tasks.Task

WriteStreamToFileSync() public method

Writes stream to file.
public WriteStreamToFileSync ( Stream dataStream, string fileName, string folderName = null ) : void
dataStream Stream Data stream.
fileName string File name.
folderName string Folder name.
return void