| |
Name
|
Description
|
| AppendAllText |
Overloaded.
Appends the specified stringto the file, creating the file if it does not already exist.
|
| AppendText |
Creates a StreamWriter that appends UTF-8 encoded text to an existing file.
|
| Copy |
Overloaded.
Copies an existing file to a new file.
|
| Create |
Overloaded.
Creates a file in the specified path.
|
| CreateText |
Creates or opens a file for writing UTF-8 encoded text.
|
| Decrypt |
Decrypts a file that was encrypted by the current account using the Encrypt method.
|
| Delete |
Deletes the specified file. An exception is not thrown if the specified file does not exist.
|
| Encrypt |
Encrypts a file so that only the account used to encrypt the file can decrypt it.
|
| Equals
|
Overloaded.
Determines whether two Object instances are equal.
(Inherited from Object.) |
| Exists |
Determines whether the specified file exists.
|
| GetAccessControl |
Overloaded.
Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
|
| GetAttributes |
Gets the FileAttributes of the file on the path.
|
| GetCreationTime |
Returns the creation date and time of the specified file or directory.
|
| GetCreationTimeUtc |
Returns the creation date and time, in coordinated universal time (UTC), of the specified file or directory.
|
| GetHashCode
|
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.) |
| GetLastAccessTime |
Returns the date and time the specified file or directory was last accessed.
|
| GetLastAccessTimeUtc |
Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last accessed.
|
| GetLastWriteTime |
Returns the date and time the specified file or directory was last written to.
|
| GetLastWriteTimeUtc |
Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last written to.
|
| GetType
|
Gets the Type of the current instance.
(Inherited from Object.) |
| Move |
Moves a specified file to a new location, providing the option to specify a new file name.
|
| Open |
Overloaded.
Opens a FileStream on the specified path.
|
| OpenRead |
Opens an existing file for reading.
|
| OpenText |
Opens an existing UTF-8 encoded text file for reading.
|
| OpenWrite |
Opens an existing file for writing.
|
| ReadAllBytes |
Opens a binary file, reads the contents of the file into a byte array, and then closes the file.
|
| ReadAllLines |
Overloaded.
Opens a text file, reads all lines of the file into a string array, and then closes the file.
|
| ReadAllText |
Overloaded.
Opens a text file, reads all lines of the file into a string, and then closes the file.
|
| ReferenceEquals
|
Determines whether the specified Object instances are the same instance.
(Inherited from Object.) |
| 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.
|
| SetAccessControl |
Applies access control list (ACL) entries described by a FileSecurity object to the specified file.
|
| SetAttributes |
Sets the specified FileAttributes of the file on the specified path.
|
| SetCreationTime |
Sets the date and time the file was created.
|
| SetCreationTimeUtc |
Sets the date and time, in coordinated universal time (UTC), that the file was created.
|
| SetLastAccessTime |
Sets the date and time the specified file was last accessed.
|
| SetLastAccessTimeUtc |
Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed.
|
| SetLastWriteTime |
Sets the date and time that the specified file was last written to.
|
| SetLastWriteTimeUtc |
Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to.
|
| ToString
|
Returns a String that represents the current Object.
(Inherited from Object.) |
| 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.
|
| 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.
|
| 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.
|