Method | Description | |
---|---|---|
Copy ( string sourceFileName, string destFileName ) : bool | ||
Copy ( string sourceFileName, string destFileName, bool overwrite ) : bool | ||
Delete ( string path ) : void | ||
Exists ( string path ) : bool | ||
Move ( string sourceFileName, string destFileName ) : bool | ||
Open ( string path, FileMode mode, FileAccess access, FileShare share ) : |
Method | Description | |
---|---|---|
TranslateFileAccess ( FileAccess access ) : NativeMethods.FileAccess | ||
TranslateFileMode ( FileMode mode ) : NativeMethods.FileMode | ||
TranslateFileShare ( FileShare share ) : NativeMethods.FileShare |
public static Copy ( string sourceFileName, string destFileName ) : bool | ||
sourceFileName | string | |
destFileName | string | |
return | bool |
public static Copy ( string sourceFileName, string destFileName, bool overwrite ) : bool | ||
sourceFileName | string | |
destFileName | string | |
overwrite | bool | |
return | bool |
public static Move ( string sourceFileName, string destFileName ) : bool | ||
sourceFileName | string | |
destFileName | string | |
return | bool |
public static Open ( string path, FileMode mode, FileAccess access, FileShare share ) : |
||
path | string | |
mode | FileMode | |
access | FileAccess | |
share | FileShare | |
return |