|
| Name | Description |
|---|
.gif) .gif) | AppendAllText | Overloaded.
Appends the specified stringto the file, creating the file if it does not already exist.
|
.gif) .gif) .gif) .gif) | AppendText |
Creates a StreamWriter that appends UTF-8 encoded text to an existing file.
|
.gif) .gif) .gif) .gif) | Copy | Overloaded.
Copies an existing file to a new file.
|
.gif) .gif) .gif) .gif) | Create | Overloaded.
Creates a file in the specified path.
|
.gif) .gif) .gif) .gif) | CreateText |
Creates or opens a file for writing UTF-8 encoded text.
|
.gif) .gif) | Decrypt |
Decrypts a file that was encrypted by the current account using the Encrypt method.
|
.gif) .gif) .gif) .gif) | Delete |
Deletes the specified file. An exception is not thrown if the specified file does not exist.
|
.gif) .gif) | Encrypt |
Encrypts a file so that only the account used to encrypt the file can decrypt it.
|
.gif) .gif) .gif) .gif) | Exists |
Determines whether the specified file exists.
|
.gif) .gif) | GetAccessControl | Overloaded.
Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
|
.gif) .gif) | GetAttributes |
Gets the FileAttributes of the file on the path.
|
.gif) .gif) .gif) .gif) | GetCreationTime |
Returns the creation date and time of the specified file or directory.
|
.gif) .gif) | GetCreationTimeUtc |
Returns the creation date and time, in coordinated universal time (UTC), of the specified file or directory.
|
.gif) .gif) .gif) .gif) | GetLastAccessTime |
Returns the date and time the specified file or directory was last accessed.
|
.gif) .gif) | GetLastAccessTimeUtc |
Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last accessed.
|
.gif) .gif) .gif) .gif) | GetLastWriteTime |
Returns the date and time the specified file or directory was last written to.
|
.gif) .gif) | GetLastWriteTimeUtc |
Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last written to.
|
.gif) .gif) .gif) .gif) | Move |
Moves a specified file to a new location, providing the option to specify a new file name.
|
.gif) .gif) .gif) .gif) | Open | Overloaded.
Opens a FileStream on the specified path.
|
.gif) .gif) .gif) .gif) | OpenRead |
Opens an existing file for reading.
|
.gif) .gif) .gif) .gif) | OpenText |
Opens an existing UTF-8 encoded text file for reading.
|
.gif) .gif) .gif) .gif) | OpenWrite |
Opens an existing file for writing.
|
.gif) .gif) | ReadAllBytes |
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
|
.gif) .gif) | ReadAllLines | Overloaded.
Opens a text file, reads all lines of the file into a string array, and then closes the file.
|
.gif) .gif) | ReadAllText | Overloaded.
Opens a text file, reads all lines of the file into a string, and then closes the file.
|
.gif) .gif) | Replace | Overloaded.
Replaces the contents of a specified file with the contents of another file, deleting the original file, and creating a backup of the replaced file.
|
.gif) .gif) | SetAccessControl |
Applies access control list (ACL) entries described by a FileSecurity object to the specified file.
|
.gif) .gif) | SetAttributes |
Sets the specified FileAttributes of the file on the specified path.
|
.gif) .gif) | SetCreationTime |
Sets the date and time the file was created.
|
.gif) .gif) | SetCreationTimeUtc |
Sets the date and time, in coordinated universal time (UTC), that the file was created.
|
.gif) .gif) | SetLastAccessTime |
Sets the date and time the specified file was last accessed.
|
.gif) .gif) | SetLastAccessTimeUtc |
Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed.
|
.gif) .gif) | SetLastWriteTime |
Sets the date and time that the specified file was last written to.
|
.gif) .gif) | SetLastWriteTimeUtc |
Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to.
|
.gif) .gif) | WriteAllBytes |
Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten.
|
.gif) .gif) | WriteAllLines | Overloaded.
Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.
|
.gif) .gif) | WriteAllText | Overloaded.
Creates a new file, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten.
|