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.
|
Method | Description | |
---|---|---|
GetSettingValue ( string key ) : string | ||
PostfixWithUniqueAppString ( string folderName, bool noDirectorySeparator = false ) : string | ||
SetSettingValue ( string key, string value ) : void |
public DeleteFileAsync ( string fileName, string folderName = null ) : Task |
||
fileName | string | File name. |
folderName | string | Folder name. |
return | Task |
public FileExistsAsync ( string fileName, string folderName = null ) : Task |
||
fileName | string | File name. |
folderName | string | Folder name. |
return | Task |
public GetFileNamesAsync ( string folderName = null, string fileNamePattern = null ) : Task |
||
folderName | string | Folder name. |
fileNamePattern | string | File name pattern. |
return | Task |
public GetStreamAsync ( string fileName, string folderName = null ) : Task |
||
fileName | string | File name. |
folderName | string | Folder name. |
return | Task |
public RemoveSettingValue ( string key ) : void | ||
key | string | Key. |
return | void |
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 |
public WriteStreamToFileSync ( Stream dataStream, string fileName, string folderName = null ) : void | ||
dataStream | Stream | Data stream. |
fileName | string | File name. |
folderName | string | Folder name. |
return | void |