Метод | Описание | |
---|---|---|
DeleteFile ( string filePath ) : void | ||
FileExists ( string filePath ) : bool | ||
MapPath ( string virtualPath ) : string | ||
WriteFile ( string fileName, byte fileBytes ) : void | ||
WriteFileAsync ( string fileName, byte fileBytes ) : System.Threading.Tasks.Task |
Метод | Описание | |
---|---|---|
EnsureDirectoryExists ( string fileName ) : void |
public DeleteFile ( string filePath ) : void | ||
filePath | string | |
Результат | void |
public FileExists ( string filePath ) : bool | ||
filePath | string | |
Результат | bool |
public MapPath ( string virtualPath ) : string | ||
virtualPath | string | |
Результат | string |
public WriteFile ( string fileName, byte fileBytes ) : void | ||
fileName | string | |
fileBytes | byte | |
Результат | void |
public WriteFileAsync ( string fileName, byte fileBytes ) : System.Threading.Tasks.Task | ||
fileName | string | |
fileBytes | byte | |
Результат | System.Threading.Tasks.Task |