C# 클래스 MicroMsg.sdk.utils.FileUtil

파일 보기 프로젝트 열기: zhxilin/WeChatSDK

공개 메소드들

메소드 설명
AppendToFile ( string fileName, string folderName, byte data ) : void
CreateDirAsync ( string strPath ) : Task
DeleteDir ( StorageFile isf, string path, bool bDeleteDir = true ) : void
DeleteFileAsync ( string fileName ) : Task
DirExistsAsync ( string path ) : Task
EmptyDir ( string strPath ) : bool
EmptyFile ( string strPath ) : bool
FileExistsAsync ( string path ) : Task
GetFileExistTimeAsync ( string path ) : Task
GetFileLengthAsync ( string path ) : Task
ReadFromFileAsync ( string fileName ) : Task
ReadFromFileAsync ( string path, int offset, int count ) : Task
WriteToFileAsync ( string fileName, string folderName, byte data, bool bCreateDir = false ) : Task

메소드 상세

AppendToFile() 공개 정적인 메소드

public static AppendToFile ( string fileName, string folderName, byte data ) : void
fileName string
folderName string
data byte
리턴 void

CreateDirAsync() 공개 정적인 메소드

public static CreateDirAsync ( string strPath ) : Task
strPath string
리턴 Task

DeleteDir() 공개 정적인 메소드

public static DeleteDir ( StorageFile isf, string path, bool bDeleteDir = true ) : void
isf Windows.Storage.StorageFile
path string
bDeleteDir bool
리턴 void

DeleteFileAsync() 공개 정적인 메소드

public static DeleteFileAsync ( string fileName ) : Task
fileName string
리턴 Task

DirExistsAsync() 공개 정적인 메소드

public static DirExistsAsync ( string path ) : Task
path string
리턴 Task

EmptyDir() 공개 정적인 메소드

public static EmptyDir ( string strPath ) : bool
strPath string
리턴 bool

EmptyFile() 공개 정적인 메소드

public static EmptyFile ( string strPath ) : bool
strPath string
리턴 bool

FileExistsAsync() 공개 정적인 메소드

public static FileExistsAsync ( string path ) : Task
path string
리턴 Task

GetFileExistTimeAsync() 공개 정적인 메소드

public static GetFileExistTimeAsync ( string path ) : Task
path string
리턴 Task

GetFileLengthAsync() 공개 정적인 메소드

public static GetFileLengthAsync ( string path ) : Task
path string
리턴 Task

ReadFromFileAsync() 공개 정적인 메소드

public static ReadFromFileAsync ( string fileName ) : Task
fileName string
리턴 Task

ReadFromFileAsync() 공개 정적인 메소드

public static ReadFromFileAsync ( string path, int offset, int count ) : Task
path string
offset int
count int
리턴 Task

WriteToFileAsync() 공개 정적인 메소드

public static WriteToFileAsync ( string fileName, string folderName, byte data, bool bCreateDir = false ) : Task
fileName string
folderName string
data byte
bCreateDir bool
리턴 Task