Method | Description | |
---|---|---|
CompressDirectory ( string path ) : string | ||
CompressDirectory ( string path, Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, IProgress |
||
CompressFile ( string path, string relativeTodir ) : string | ||
CompressFiles ( IEnumerable |
||
CreateDirectory ( string path ) : void | ||
CreateFile ( string path ) : Stream | ||
CreateFileSystemWatcher ( string path, string filter ) : IFileSystemWatcher | ||
DeleteDirectory ( string path, bool recursive ) : void | ||
DeleteFile ( string path ) : void | ||
DirectoryExists ( string path ) : bool | ||
FileExists ( string path ) : bool | ||
FileOpen ( string path, FileMode mode ) : Stream | ||
FileReadAllBytes ( string path ) : byte[] | ||
FileReadAllLines ( string path ) : IEnumerable |
||
FileSize ( string path ) : long | ||
FileWriteAllBytes ( string path, byte bytes ) : void | ||
FileWriteAllLines ( string path, IEnumerable |
||
GetDirectoryInfo ( string directoryPath ) : IDirectoryInfo | ||
GetDownloadsPath ( string fileName ) : string | ||
GetFileAttributes ( string path ) : FileAttributes | ||
GetFileSystemEntries ( string path, string searchPattern, SearchOption options ) : string[] | ||
GetVersionInfo ( string path ) : IFileVersionInfo | ||
ReadAllText ( string path ) : string | ||
ToLongPath ( string path ) : string | ||
ToShortPath ( string path ) : string | ||
WriteAllText ( string path, string content ) : void |
Method | Description | |
---|---|---|
GetKnownFolderPath ( string knownFolder ) : string |
public CompressDirectory ( string path ) : string | ||
path | string | |
return | string |
public CompressDirectory ( string path, Microsoft.Extensions.FileSystemGlobbing.Matcher matcher, IProgress |
||
path | string | |
matcher | Microsoft.Extensions.FileSystemGlobbing.Matcher | |
progress | IProgress |
|
ct | ||
return | string |
public CompressFile ( string path, string relativeTodir ) : string | ||
path | string | |
relativeTodir | string | |
return | string |
public CompressFiles ( IEnumerable |
||
paths | IEnumerable |
|
relativeTodir | string | |
progress | IProgress |
|
ct | ||
return | string |
public CreateDirectory ( string path ) : void | ||
path | string | |
return | void |
public CreateFileSystemWatcher ( string path, string filter ) : IFileSystemWatcher | ||
path | string | |
filter | string | |
return | IFileSystemWatcher |
public DeleteDirectory ( string path, bool recursive ) : void | ||
path | string | |
recursive | bool | |
return | void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
return | bool |
public FileOpen ( string path, FileMode mode ) : Stream | ||
path | string | |
mode | FileMode | |
return | Stream |
public FileReadAllBytes ( string path ) : byte[] | ||
path | string | |
return | byte[] |
public FileReadAllLines ( string path ) : IEnumerable |
||
path | string | |
return | IEnumerable |
public FileWriteAllBytes ( string path, byte bytes ) : void | ||
path | string | |
bytes | byte | |
return | void |
public FileWriteAllLines ( string path, IEnumerable |
||
path | string | |
contents | IEnumerable |
|
return | void |
public GetDirectoryInfo ( string directoryPath ) : IDirectoryInfo | ||
directoryPath | string | |
return | IDirectoryInfo |
public GetDownloadsPath ( string fileName ) : string | ||
fileName | string | |
return | string |
public GetFileAttributes ( string path ) : FileAttributes | ||
path | string | |
return | FileAttributes |
public GetFileSystemEntries ( string path, string searchPattern, SearchOption options ) : string[] | ||
path | string | |
searchPattern | string | |
options | SearchOption | |
return | string[] |
public GetVersionInfo ( string path ) : IFileVersionInfo | ||
path | string | |
return | IFileVersionInfo |
public WriteAllText ( string path, string content ) : void | ||
path | string | |
content | string | |
return | void |