Méthode | Description | |
---|---|---|
AppendAllText ( string path, string contents ) : void | ||
CombineAttributes ( string path, FileAttributes attributes ) : void | ||
CombinePath ( ) : string | ||
CopyFile ( string sourcePath, string targetPath ) : void | ||
CopyFile ( string sourcePath, string targetPath, bool overwrite ) : void | ||
CreateDirectory ( string path ) : void | ||
DeleteDirectory ( string path, bool force ) : void | ||
DeleteFile ( string path ) : void | ||
DirectoryExists ( string path ) : bool | ||
EnsurePath ( string path ) : void | ||
FileExists ( string path ) : bool | ||
GetAttributes ( string path ) : FileAttributes | ||
GetDirectories ( string path ) : string[] | ||
GetDirectoryFullPath ( string path ) : string | ||
GetDirectoryName ( string path ) : string | ||
GetFileHash ( byte contents ) : byte[] | ||
GetFileHash ( string path ) : byte[] | ||
GetFileHashAsString ( string path ) : string | ||
GetFileName ( string path ) : string | ||
GetFileSize ( string path ) : long | ||
GetFiles ( string path ) : string[] | ||
GetFiles ( string path, string searchPattern ) : string[] | ||
GetFullPath ( string path ) : string | ||
GetLastWriteTime ( string path ) : DateTime | ||
GetName ( string path ) : string | ||
OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream | ||
ReadAllBytes ( string path ) : byte[] | ||
ReadAllLines ( string path ) : string[] | ||
ReadAllText ( string path ) : string | ||
RemoveAttributes ( string path, FileAttributes attributes ) : void | ||
SetAttributes ( string path, FileAttributes attributes ) : void | ||
WriteAllBytes ( string path, byte contents ) : void | ||
WriteAllLines ( string path, string contents ) : void | ||
WriteAllText ( string path, string contents ) : void |
Méthode | Description | |
---|---|---|
RecursiveMakeNormal ( string path ) : void |
public AppendAllText ( string path, string contents ) : void | ||
path | string | |
contents | string | |
Résultat | void |
public CombineAttributes ( string path, FileAttributes attributes ) : void | ||
path | string | |
attributes | FileAttributes | |
Résultat | void |
public CopyFile ( string sourcePath, string targetPath ) : void | ||
sourcePath | string | |
targetPath | string | |
Résultat | void |
public CopyFile ( string sourcePath, string targetPath, bool overwrite ) : void | ||
sourcePath | string | |
targetPath | string | |
overwrite | bool | |
Résultat | void |
public CreateDirectory ( string path ) : void | ||
path | string | |
Résultat | void |
public DeleteDirectory ( string path, bool force ) : void | ||
path | string | |
force | bool | |
Résultat | void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
Résultat | bool |
public GetAttributes ( string path ) : FileAttributes | ||
path | string | |
Résultat | FileAttributes |
public GetDirectories ( string path ) : string[] | ||
path | string | |
Résultat | string[] |
public GetDirectoryFullPath ( string path ) : string | ||
path | string | |
Résultat | string |
public GetDirectoryName ( string path ) : string | ||
path | string | |
Résultat | string |
public GetFileHash ( byte contents ) : byte[] | ||
contents | byte | |
Résultat | byte[] |
public GetFileHash ( string path ) : byte[] | ||
path | string | |
Résultat | byte[] |
public GetFileHashAsString ( string path ) : string | ||
path | string | |
Résultat | string |
public GetFileName ( string path ) : string | ||
path | string | |
Résultat | string |
public GetFiles ( string path, string searchPattern ) : string[] | ||
path | string | |
searchPattern | string | |
Résultat | string[] |
public GetFullPath ( string path ) : string | ||
path | string | |
Résultat | string |
public GetLastWriteTime ( string path ) : DateTime | ||
path | string | |
Résultat | DateTime |
public OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream | ||
path | string | |
mode | FileMode | |
access | FileAccess | |
share | FileShare | |
Résultat | Stream |
public ReadAllBytes ( string path ) : byte[] | ||
path | string | |
Résultat | byte[] |
public ReadAllLines ( string path ) : string[] | ||
path | string | |
Résultat | string[] |
public ReadAllText ( string path ) : string | ||
path | string | |
Résultat | string |
public RemoveAttributes ( string path, FileAttributes attributes ) : void | ||
path | string | |
attributes | FileAttributes | |
Résultat | void |
public SetAttributes ( string path, FileAttributes attributes ) : void | ||
path | string | |
attributes | FileAttributes | |
Résultat | void |
public WriteAllBytes ( string path, byte contents ) : void | ||
path | string | |
contents | byte | |
Résultat | void |
public WriteAllLines ( string path, string contents ) : void | ||
path | string | |
contents | string | |
Résultat | void |
public WriteAllText ( string path, string contents ) : void | ||
path | string | |
contents | string | |
Résultat | void |