File Class |
This class cannot be inherited.
Namespace: Alphaleonis.Win32.Filesystem
The File type exposes the following members.
Name | Description | |
---|---|---|
AppendAllLines(String, IEnumerableString) | Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the
specified lines to the file, and then closes the file.
| |
AppendAllLines(String, IEnumerableString, PathFormat) | [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file,
writes the specified lines to the file, and then closes the file.
| |
AppendAllLines(String, IEnumerableString, Encoding) | Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the
specified lines to the file, and then closes the file.
| |
AppendAllLines(KernelTransaction, String, IEnumerableString) | [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file,
writes the specified lines to the file, and then closes the file.
| |
AppendAllLines(String, IEnumerableString, Encoding, PathFormat) | [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not
exist, this method creates a file, writes the specified lines to the file, and then closes
the file.
| |
AppendAllLines(KernelTransaction, String, IEnumerableString, PathFormat) | [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file, writes the
specified lines to the file, and then closes the file.
| |
AppendAllLines(KernelTransaction, String, IEnumerableString, Encoding) | [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file,
writes the specified lines to the file, and then closes the file.
| |
AppendAllLines(KernelTransaction, String, IEnumerableString, Encoding, PathFormat) | [AlphaFS] Appends lines to a file, and then closes the file. If the specified file does not exist, this method creates a file,
writes the specified lines to the file, and then closes the file.
| |
AppendAllText(String, String) | Appends the specified stringto the file, creating the file if it does not already exist. | |
AppendAllText(String, String, PathFormat) | [AlphaFS] Appends the specified stringto the file, creating the file if it does not already exist. | |
AppendAllText(String, String, Encoding) | Appends the specified string to the file, creating the file if it does not already exist. | |
AppendAllText(KernelTransaction, String, String) | [AlphaFS] Appends the specified stringto the file, creating the file if it does not already exist. | |
AppendAllText(String, String, Encoding, PathFormat) | [AlphaFS] Appends the specified string to the file, creating the file if it does not already exist. | |
AppendAllText(KernelTransaction, String, String, PathFormat) | [AlphaFS] Appends the specified stringto the file, creating the file if it does not already exist. | |
AppendAllText(KernelTransaction, String, String, Encoding) | [AlphaFS] Appends the specified string to the file, creating the file if it does not already exist. | |
AppendAllText(KernelTransaction, String, String, Encoding, PathFormat) | [AlphaFS] Appends the specified string to the file, creating the file if it does not already exist. | |
AppendText(String) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or to a new
file if the specified file does not exist.
| |
AppendText(String, PathFormat) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
| |
AppendText(String, Encoding) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
| |
AppendText(KernelTransaction, String) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
| |
AppendText(String, Encoding, PathFormat) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
| |
AppendText(KernelTransaction, String, PathFormat) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
| |
AppendText(KernelTransaction, String, Encoding) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
| |
AppendText(KernelTransaction, String, Encoding, PathFormat) |
Creates a StreamWriter that appends NativeMethods.DefaultFileEncoding encoded text to an existing file, or
to a new file if the specified file does not exist.
| |
Compress(String) | [AlphaFS] Compresses a file using NTFS compression. | |
Compress(String, PathFormat) | [AlphaFS] Compresses a file using NTFS compression. | |
Compress(KernelTransaction, String) | [AlphaFS] Compresses a file using NTFS compression. | |
Compress(KernelTransaction, String, PathFormat) | [AlphaFS] Compresses a file using NTFS compression. | |
Copy(String, String) | Copies an existing file to a new file. Overwriting a file of the same name is not allowed. | |
Copy(String, String, CopyOptions) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(String, String, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed. | |
Copy(String, String, Boolean) | Copies an existing file to a new file. Overwriting a file of the same name is allowed. | |
Copy(KernelTransaction, String, String) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed. | |
Copy(String, String, CopyOptions, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(String, String, CopyOptions, Boolean) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(String, String, Boolean, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. | |
Copy(KernelTransaction, String, String, CopyOptions) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(KernelTransaction, String, String, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is not allowed. | |
Copy(KernelTransaction, String, String, Boolean) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. | |
Copy(String, String, CopyOptions, CopyMoveProgressRoutine, Object) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Copy(String, String, CopyOptions, Boolean, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(KernelTransaction, String, String, CopyOptions, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(KernelTransaction, String, String, CopyOptions, Boolean) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(KernelTransaction, String, String, Boolean, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. | |
Copy(String, String, CopyOptions, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Copy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Copy(KernelTransaction, String, String, CopyOptions, CopyMoveProgressRoutine, Object) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Copy(KernelTransaction, String, String, CopyOptions, Boolean, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified. | |
Copy(String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Copy(KernelTransaction, String, String, CopyOptions, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Copy(KernelTransaction, String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Copy(KernelTransaction, String, String, CopyOptions, Boolean, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Copies an existing file to a new file. Overwriting a file of the same name is allowed. CopyOptions can be specified,
and the possibility of notifying the application of its progress through a callback function. | |
Create(String) | Creates or overwrites a file in the specified path. | |
Create(String, PathFormat) | Creates or overwrites a file in the specified path. | |
Create(String, Int32) | Creates or overwrites the specified file. | |
Create(KernelTransaction, String) | Creates or overwrites a file in the specified path. | |
Create(String, Int32, PathFormat) | Creates or overwrites the specified file. | |
Create(String, Int32, FileOptions) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
Create(KernelTransaction, String, PathFormat) | Creates or overwrites a file in the specified path. | |
Create(KernelTransaction, String, Int32) | Creates or overwrites the specified file. | |
Create(String, Int32, FileOptions, PathFormat) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
Create(String, Int32, FileOptions, FileSecurity) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
Create(KernelTransaction, String, Int32, PathFormat) | Creates or overwrites the specified file. | |
Create(KernelTransaction, String, Int32, FileOptions) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
Create(String, Int32, FileOptions, FileSecurity, PathFormat) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
Create(KernelTransaction, String, Int32, FileOptions, PathFormat) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
Create(KernelTransaction, String, Int32, FileOptions, FileSecurity) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
Create(KernelTransaction, String, Int32, FileOptions, FileSecurity, PathFormat) |
Creates or overwrites the specified file, specifying a buffer size and a
FileOptions value that describes how to create or overwrite the file.
| |
CreateHardlink(String, String) |
[AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system,
and only for files, not directories.
| |
CreateHardlink(String, String, PathFormat) |
[AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system,
and only for files, not directories.
| |
CreateHardlink(KernelTransaction, String, String) |
[AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system,
and only for files, not directories.
| |
CreateHardlink(KernelTransaction, String, String, PathFormat) |
[AlphaFS] Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system,
and only for files, not directories.
| |
CreateSymbolicLink(String, String, SymbolicLinkTarget) | [AlphaFS] Creates a symbolic link. | |
CreateSymbolicLink(String, String, SymbolicLinkTarget, PathFormat) | [AlphaFS] Creates a symbolic link. | |
CreateSymbolicLink(KernelTransaction, String, String, SymbolicLinkTarget) | [AlphaFS] Creates a symbolic link. | |
CreateSymbolicLink(KernelTransaction, String, String, SymbolicLinkTarget, PathFormat) | [AlphaFS] Creates a symbolic link. | |
CreateText(String) | Creates or opens a file for writing UTF-8 encoded text. | |
CreateText(String, PathFormat) | [AlphaFS] Creates or opens a file for writing UTF-8 encoded text. | |
CreateText(KernelTransaction, String) | [AlphaFS] Creates or opens a file for writing UTF-8 encoded text. | |
CreateText(String, Encoding, PathFormat) | [AlphaFS] Creates or opens a file for writing UTF-8 encoded text. | |
CreateText(KernelTransaction, String, Encoding, PathFormat) | [AlphaFS] Creates or opens a file for writing UTF-8 encoded text. | |
Decompress(String) | [AlphaFS] Decompresses an NTFS compressed file. | |
Decompress(String, PathFormat) | [AlphaFS] Decompresses an NTFS compressed file. | |
Decompress(KernelTransaction, String) | [AlphaFS] Decompresses an NTFS compressed file. | |
Decompress(KernelTransaction, String, PathFormat) | [AlphaFS] Decompresses an NTFS compressed file. | |
Decrypt(String) | Decrypts a file that was encrypted by the current account using the Encrypt method. | |
Decrypt(String, PathFormat) | [AlphaFS] Decrypts a file that was encrypted by the current account using the Encrypt method. | |
Delete(String) | Deletes the specified file. | |
Delete(String, Boolean) | [AlphaFS] Deletes the specified file. | |
Delete(KernelTransaction, String) | [AlphaFS] Deletes the specified file. | |
Delete(String, Boolean, PathFormat) | [AlphaFS] Deletes the specified file. | |
Delete(KernelTransaction, String, Boolean) | [AlphaFS] Deletes the specified file. | |
Delete(KernelTransaction, String, Boolean, PathFormat) | [AlphaFS] Deletes the specified file. | |
Encrypt(String) | Encrypts a file so that only the account used to encrypt the file can decrypt it. | |
Encrypt(String, PathFormat) | [AlphaFS] Encrypts a file so that only the account used to encrypt the file can decrypt it. | |
EnumerateAlternateDataStreams(String) | Enumerates the streams of type :$DATA in the specified file or directory. | |
EnumerateAlternateDataStreams(String, PathFormat) | Enumerates the streams of type :$DATA in the specified file or directory. | |
EnumerateAlternateDataStreams(KernelTransaction, String) | Enumerates the streams of type :$DATA in the specified file or directory. | |
EnumerateAlternateDataStreams(KernelTransaction, String, PathFormat) | Enumerates the streams of type :$DATA in the specified file or directory. | |
EnumerateHardlinks(String) | [AlphaFS] Creates an enumeration of all the hard links to the specified path. | |
EnumerateHardlinks(String, PathFormat) | [AlphaFS] Creates an enumeration of all the hard links to the specified path. | |
EnumerateHardlinks(KernelTransaction, String) | [AlphaFS] Creates an enumeration of all the hard links to the specified path. | |
EnumerateHardlinks(KernelTransaction, String, PathFormat) | [AlphaFS] Creates an enumeration of all the hard links to the specified path. | |
Exists(String) | Determines whether the specified file exists. | |
Exists(String, PathFormat) | [AlphaFS] Determines whether the specified file exists. | |
Exists(KernelTransaction, String) |
[AlphaFS] Determines whether the specified file exists.
| |
Exists(KernelTransaction, String, PathFormat) |
[AlphaFS] Determines whether the specified file exists.
| |
GetAccessControl(String) |
Gets a FileSecurity object that encapsulates the access control list (ACL)
entries for a specified file.
| |
GetAccessControl(String, PathFormat) |
[AlphaFS] Gets a FileSecurity object that encapsulates the access control
list (ACL) entries for a specified file.
| |
GetAccessControl(String, AccessControlSections) |
Gets a FileSecurity object that encapsulates the access control list (ACL)
entries for a specified file.
| |
GetAccessControl(String, AccessControlSections, PathFormat) |
[AlphaFS] Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
| |
GetAttributes(String) | Gets the FileAttributes of the file on the path. | |
GetAttributes(String, PathFormat) | [AlphaFS] Gets the FileAttributes of the file on the path. | |
GetAttributes(KernelTransaction, String) | [AlphaFS] Gets the FileAttributes of the file on the path. | |
GetAttributes(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the FileAttributes of the file on the path. | |
GetChangeTime(SafeFileHandle) | [AlphaFS] Gets the change date and time of the specified file. | |
GetChangeTime(String) | [AlphaFS] Gets the change date and time of the specified file. | |
GetChangeTime(String, PathFormat) | [AlphaFS] Gets the change date and time of the specified file. | |
GetChangeTime(KernelTransaction, String) | [AlphaFS] Gets the change date and time of the specified file. | |
GetChangeTime(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the change date and time of the specified file. | |
GetChangeTimeUtc(SafeFileHandle) | [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetChangeTimeUtc(String) | [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetChangeTimeUtc(String, PathFormat) | [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetChangeTimeUtc(KernelTransaction, String) | [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetChangeTimeUtc(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the change date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetCompressedSize(String) | [AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file. | |
GetCompressedSize(String, PathFormat) | [AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file. | |
GetCompressedSize(KernelTransaction, String) |
[AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file as part of a transaction. If the file
is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the
specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is
the sparse size of the specified file.
| |
GetCompressedSize(KernelTransaction, String, PathFormat) |
[AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file as part of a transaction. If the file
is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the
specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is
the sparse size of the specified file.
| |
GetCreationTime(String) | Gets the creation date and time of the specified file. | |
GetCreationTime(String, PathFormat) | [AlphaFS] Gets the creation date and time of the specified file. | |
GetCreationTime(KernelTransaction, String) | [AlphaFS] Gets the creation date and time of the specified file. | |
GetCreationTime(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the creation date and time of the specified file. | |
GetCreationTimeUtc(String) | Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetCreationTimeUtc(String, PathFormat) | [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetCreationTimeUtc(KernelTransaction, String) | [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetCreationTimeUtc(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the creation date and time, in Coordinated Universal Time (UTC) format, of the specified file. | |
GetEncryptionStatus(String) | [AlphaFS] Retrieves the encryption status of the specified file. | |
GetEncryptionStatus(String, PathFormat) | [AlphaFS] Retrieves the encryption status of the specified file. | |
GetFileInfoByHandle | [AlphaFS] Retrieves file information for the specified SafeFileHandle. | |
GetFileSystemEntryInfo(String) | [AlphaFS] Gets the FileSystemEntryInfo of the file on the path. | |
GetFileSystemEntryInfo(String, PathFormat) | [AlphaFS] Gets the FileSystemEntryInfo of the file on the path. | |
GetFileSystemEntryInfo(KernelTransaction, String) | [AlphaFS] Gets the FileSystemEntryInfo of the file on the path. | |
GetFileSystemEntryInfo(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the FileSystemEntryInfo of the file on the path. | |
GetLastAccessTime(String) | Gets the date and time that the specified file was last accessed. | |
GetLastAccessTime(String, PathFormat) | [AlphaFS] Gets the date and time that the specified file was last accessed. | |
GetLastAccessTime(KernelTransaction, String) | [AlphaFS] Gets the date and time that the specified file was last accessed. | |
GetLastAccessTime(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the date and time that the specified file was last accessed. | |
GetLastAccessTimeUtc(String) | Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
GetLastAccessTimeUtc(String, PathFormat) | [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
GetLastAccessTimeUtc(KernelTransaction, String) | [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
GetLastAccessTimeUtc(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
GetLastWriteTime(String) | Gets the date and time that the specified file was last written to. | |
GetLastWriteTime(String, PathFormat) | [AlphaFS] Gets the date and time that the specified file was last written to. | |
GetLastWriteTime(KernelTransaction, String) | [AlphaFS] Gets the date and time that the specified file was last written to. | |
GetLastWriteTime(KernelTransaction, String, PathFormat) | [AlphaFS] Gets the date and time that the specified file was last written to. | |
GetLastWriteTimeUtc(String) | Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to. | |
GetLastWriteTimeUtc(String, PathFormat) |
[AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to.
| |
GetLastWriteTimeUtc(KernelTransaction, String) |
[AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to.
| |
GetLastWriteTimeUtc(KernelTransaction, String, PathFormat) |
[AlphaFS] Gets the date and time, in coordinated universal time (UTC) time, that the specified file was last written to.
| |
GetLinkTargetInfo(String) | [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. | |
GetLinkTargetInfo(String, PathFormat) | [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. | |
GetLinkTargetInfo(KernelTransaction, String) | [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. | |
GetLinkTargetInfo(KernelTransaction, String, PathFormat) | [AlphaFS] Gets information about the target of a mount point or symbolic link on an NTFS file system. | |
GetSize(SafeFileHandle) | [AlphaFS] Retrieves the file size, in bytes to store a specified file. | |
GetSize(String) | [AlphaFS] Retrieves the file size, in bytes to store a specified file. | |
GetSize(String, PathFormat) | [AlphaFS] Retrieves the file size, in bytes to store a specified file. | |
GetSize(KernelTransaction, String) | [AlphaFS] Retrieves the file size, in bytes to store a specified file. | |
GetSize(KernelTransaction, String, PathFormat) | [AlphaFS] Retrieves the file size, in bytes to store a specified file. | |
Move(String, String) | Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(String, String, MoveOptions) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(String, String, PathFormat) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(KernelTransaction, String, String) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(String, String, MoveOptions, PathFormat) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(KernelTransaction, String, String, MoveOptions) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(KernelTransaction, String, String, PathFormat) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(String, String, MoveOptions, CopyMoveProgressRoutine, Object) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(KernelTransaction, String, String, MoveOptions, PathFormat) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(String, String, MoveOptions, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(KernelTransaction, String, String, MoveOptions, CopyMoveProgressRoutine, Object) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Move(KernelTransaction, String, String, MoveOptions, CopyMoveProgressRoutine, Object, PathFormat) | [AlphaFS] Moves a specified file to a new location, providing the option to specify a new file name. | |
Open(String, FileMode) | Opens a FileStream on the specified path with read/write access. | |
Open(String, FileMode, PathFormat) | [AlphaFS] Opens a FileStream on the specified path with read/write access. | |
Open(String, FileMode, FileAccess) | Opens a FileStream on the specified path, with the specified mode and access. | |
Open(KernelTransaction, String, FileMode) | [AlphaFS] (Transacted) Opens a FileStream on the specified path with read/write access. | |
Open(String, FileMode, FileAccess, PathFormat) | [AlphaFS] Opens a FileStream on the specified path, with the specified mode and access. | |
Open(String, FileMode, FileAccess, FileShare) | Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. | |
Open(KernelTransaction, String, FileMode, PathFormat) | [AlphaFS] (Transacted) Opens a FileStream on the specified path with read/write access. | |
Open(KernelTransaction, String, FileMode, FileAccess) | [AlphaFS] Opens a FileStream on the specified path, with the specified mode and access. | |
Open(String, FileMode, FileAccess, FileShare, PathFormat) |
[AlphaFS] Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access
and the specified sharing option.
| |
Open(KernelTransaction, String, FileMode, FileAccess, PathFormat) | [AlphaFS] Opens a FileStream on the specified path, with the specified mode and access. | |
Open(KernelTransaction, String, FileMode, FileAccess, FileShare) |
[AlphaFS] Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access
and the specified sharing option.
| |
Open(String, FileMode, FileAccess, FileShare, ExtendedFileAttributes, PathFormat) |
[AlphaFS] Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access
and the specified sharing option.
| |
Open(KernelTransaction, String, FileMode, FileAccess, FileShare, PathFormat) | [AlphaFS] Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option. | |
Open(KernelTransaction, String, FileMode, FileAccess, FileShare, ExtendedFileAttributes, PathFormat) |
[AlphaFS] Opens a FileStream on the specified path, having the specified mode with read, write, or read/write access
and the specified sharing option.
| |
OpenBackupRead(String) |
[AlphaFS] Opens the specified file for reading purposes bypassing security attributes.
This method is simpler to use then BackupFileStream to read only file's data stream.
| |
OpenBackupRead(String, PathFormat) | [AlphaFS] Opens the specified file for reading purposes bypassing security attributes. | |
OpenBackupRead(KernelTransaction, String) | [AlphaFS] Opens the specified file for reading purposes bypassing security attributes. | |
OpenBackupRead(KernelTransaction, String, PathFormat) | [AlphaFS] Opens the specified file for reading purposes bypassing security attributes. | |
OpenRead(String) | Opens an existing file for reading. | |
OpenRead(String, PathFormat) | [AlphaFS] Opens an existing file for reading. | |
OpenRead(KernelTransaction, String) | [AlphaFS] Opens an existing file for reading. | |
OpenRead(KernelTransaction, String, PathFormat) | [AlphaFS] Opens an existing file for reading. | |
OpenText(String) | Opens an existing NativeMethods.DefaultFileEncoding encoded text file for reading. | |
OpenText(String, PathFormat) | [AlphaFS] Opens an existing NativeMethods.DefaultFileEncoding encoded text file for reading. | |
OpenText(String, Encoding) | [AlphaFS] Opens an existing Encoding encoded text file for reading. | |
OpenText(KernelTransaction, String) | [AlphaFS] Opens an existing NativeMethods.DefaultFileEncoding encoded text file for reading. | |
OpenText(String, Encoding, PathFormat) | [AlphaFS] Opens an existing Encoding encoded text file for reading. | |
OpenText(KernelTransaction, String, PathFormat) | [AlphaFS] Opens an existing NativeMethods.DefaultFileEncoding encoded text file for reading. | |
OpenText(KernelTransaction, String, Encoding) | [AlphaFS] Opens an existing Encoding encoded text file for reading. | |
OpenText(KernelTransaction, String, Encoding, PathFormat) | [AlphaFS] Opens an existing Encoding encoded text file for reading. | |
OpenWrite(String) | Opens an existing file or creates a new file for writing. | |
OpenWrite(String, PathFormat) | [AlphaFS] Opens an existing file or creates a new file for writing. | |
OpenWrite(KernelTransaction, String) | [AlphaFS] Opens an existing file or creates a new file for writing. | |
OpenWrite(KernelTransaction, String, PathFormat) | [AlphaFS] Opens an existing file or creates a new file for writing. | |
ReadAllBytes(String) | Opens a binary file, reads the contents of the file into a byte array, and then closes the file. | |
ReadAllBytes(String, PathFormat) | [AlphaFS] Opens a binary file, reads the contents of the file into a byte array, and then closes the file. | |
ReadAllBytes(KernelTransaction, String) | [AlphaFS] Opens a binary file, reads the contents of the file into a byte array, and then closes the file. | |
ReadAllBytes(KernelTransaction, String, PathFormat) | [AlphaFS] Opens a binary file, reads the contents of the file into a byte array, and then closes the file. | |
ReadAllLines(String) | Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllLines(String, PathFormat) | [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllLines(String, Encoding) | Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadAllLines(KernelTransaction, String) | [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllLines(String, Encoding, PathFormat) | [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadAllLines(KernelTransaction, String, PathFormat) | [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllLines(KernelTransaction, String, Encoding) | [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadAllLines(KernelTransaction, String, Encoding, PathFormat) | [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadAllText(String) | Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllText(String, PathFormat) | [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllText(String, Encoding) | Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadAllText(KernelTransaction, String) | [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllText(String, Encoding, PathFormat) | [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadAllText(KernelTransaction, String, PathFormat) | [AlphaFS] Opens a text file, reads all lines of the file, and then closes the file. | |
ReadAllText(KernelTransaction, String, Encoding) | [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadAllText(KernelTransaction, String, Encoding, PathFormat) | [AlphaFS] Opens a file, reads all lines of the file with the specified encoding, and then closes the file. | |
ReadLines(String) | Reads the lines of a file. | |
ReadLines(String, PathFormat) | [AlphaFS] Reads the lines of a file. | |
ReadLines(String, Encoding) | Read the lines of a file that has a specified encoding. | |
ReadLines(KernelTransaction, String) | [AlphaFS] Reads the lines of a file. | |
ReadLines(String, Encoding, PathFormat) | [AlphaFS] Read the lines of a file that has a specified encoding. | |
ReadLines(KernelTransaction, String, PathFormat) | [AlphaFS] Reads the lines of a file. | |
ReadLines(KernelTransaction, String, Encoding) | [AlphaFS] Read the lines of a file that has a specified encoding. | |
ReadLines(KernelTransaction, String, Encoding, PathFormat) | [AlphaFS] Read the lines of a file that has a specified encoding. | |
Replace(String, String, String) |
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.
| |
Replace(String, String, String, Boolean) |
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 and optionally ignores merge errors.
| |
Replace(String, String, String, Boolean, PathFormat) |
[AlphaFS] 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 and optionally ignores merge errors.
| |
SetAccessControl(String, FileSecurity) |
Applies access control list (ACL) entries described by a FileSecurity FileSecurity object to the specified file.
| |
SetAccessControl(String, FileSecurity, PathFormat) |
[AlphaFS] Applies access control list (ACL) entries described by a FileSecurity FileSecurity object to the specified
file.
| |
SetAccessControl(String, FileSecurity, AccessControlSections) |
Applies access control list (ACL) entries described by a DirectorySecurity object to the specified directory.
| |
SetAccessControl(String, FileSecurity, AccessControlSections, PathFormat) |
[AlphaFS] Applies access control list (ACL) entries described by a DirectorySecurity object to the specified
directory.
| |
SetAttributes(String, FileAttributes) | Sets the specified FileAttributes of the file or directory on the specified path. | |
SetAttributes(String, FileAttributes, PathFormat) | [AlphaFS] Sets the specified FileAttributes of the file or directory on the specified path. | |
SetAttributes(KernelTransaction, String, FileAttributes) | [AlphaFS] Sets the specified FileAttributes of the file on the specified path. | |
SetAttributes(KernelTransaction, String, FileAttributes, PathFormat) | [AlphaFS] Sets the specified FileAttributes of the file on the specified path. | |
SetCreationTime(String, DateTime) | Sets the date and time the file was created. | |
SetCreationTime(String, DateTime, PathFormat) | [AlphaFS] Sets the date and time the file was created. | |
SetCreationTime(KernelTransaction, String, DateTime) | [AlphaFS] Sets the date and time the file was created. | |
SetCreationTime(KernelTransaction, String, DateTime, PathFormat) | [AlphaFS] Sets the date and time the file was created. | |
SetCreationTimeUtc(String, DateTime) | Sets the date and time, in coordinated universal time (UTC), that the file was created. | |
SetCreationTimeUtc(String, DateTime, PathFormat) | [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. | |
SetCreationTimeUtc(KernelTransaction, String, DateTime) | [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. | |
SetCreationTimeUtc(KernelTransaction, String, DateTime, PathFormat) | [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the file was created. | |
SetLastAccessTime(String, DateTime) | Sets the date and time that the specified file was last accessed. | |
SetLastAccessTime(String, DateTime, PathFormat) | [AlphaFS] Sets the date and time that the specified file was last accessed. | |
SetLastAccessTime(KernelTransaction, String, DateTime) | [AlphaFS] Sets the date and time that the specified file was last accessed. | |
SetLastAccessTime(KernelTransaction, String, DateTime, PathFormat) | [AlphaFS] Sets the date and time that the specified file was last accessed. | |
SetLastAccessTimeUtc(String, DateTime) | Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
SetLastAccessTimeUtc(String, DateTime, PathFormat) | [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
SetLastAccessTimeUtc(KernelTransaction, String, DateTime) | [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
SetLastAccessTimeUtc(KernelTransaction, String, DateTime, PathFormat) | [AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last accessed. | |
SetLastWriteTime(String, DateTime) | Sets the date and time that the specified file was last written to. | |
SetLastWriteTime(String, DateTime, PathFormat) | [AlphaFS] Sets the date and time that the specified file was last written to. | |
SetLastWriteTime(KernelTransaction, String, DateTime) | [AlphaFS] Sets the date and time that the specified file was last written to. | |
SetLastWriteTime(KernelTransaction, String, DateTime, PathFormat) | [AlphaFS] Sets the date and time that the specified file was last written to. | |
SetLastWriteTimeUtc(String, DateTime) | Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to. | |
SetLastWriteTimeUtc(String, DateTime, PathFormat) |
[AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to.
| |
SetLastWriteTimeUtc(KernelTransaction, String, DateTime) |
[AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to.
| |
SetLastWriteTimeUtc(KernelTransaction, String, DateTime, PathFormat) |
[AlphaFS] Sets the date and time, in coordinated universal time (UTC), that the specified file was last written to.
| |
SetTimestamps(String, DateTime, DateTime, DateTime) | [AlphaFS] Sets all the date and time stamps for the specified file, at once. | |
SetTimestamps(String, DateTime, DateTime, DateTime, PathFormat) | [AlphaFS] Sets all the date and time stamps for the specified file, at once. | |
SetTimestamps(KernelTransaction, String, DateTime, DateTime, DateTime) | [AlphaFS] Sets all the date and time stamps for the specified file, at once. | |
SetTimestamps(KernelTransaction, String, DateTime, DateTime, DateTime, PathFormat) | [AlphaFS] Sets all the date and time stamps for the specified file, at once. | |
SetTimestampsUtc(String, DateTime, DateTime, DateTime) | [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. | |
SetTimestampsUtc(String, DateTime, DateTime, DateTime, PathFormat) | [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. | |
SetTimestampsUtc(KernelTransaction, String, DateTime, DateTime, DateTime) | [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. | |
SetTimestampsUtc(KernelTransaction, String, DateTime, DateTime, DateTime, PathFormat) | [AlphaFS] Sets all the date and time stamps, in coordinated universal time (UTC), for the specified file, at once. | |
TransferTimestamps(String, String) | [AlphaFS] Transfers the date and time stamps for the specified files. | |
TransferTimestamps(String, String, PathFormat) | [AlphaFS] Transfers the date and time stamps for the specified files. | |
TransferTimestamps(KernelTransaction, String, String) | [AlphaFS] Transfers the date and time stamps for the specified files. | |
TransferTimestamps(KernelTransaction, String, String, PathFormat) | [AlphaFS] Transfers the date and time stamps for the specified files. | |
WriteAllBytes(String, Byte) |
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.
| |
WriteAllBytes(String, Byte, PathFormat) |
[AlphaFS] 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.
| |
WriteAllBytes(KernelTransaction, String, Byte) |
[AlphaFS] 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.
| |
WriteAllBytes(KernelTransaction, String, Byte, PathFormat) |
[AlphaFS] 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(String, IEnumerableString) | Creates a new file, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(String, String) | Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(String, IEnumerableString, PathFormat) | [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(String, IEnumerableString, Encoding) | Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(String, String, PathFormat) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(String, String, Encoding) | Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, IEnumerableString) | [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, String) | [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(String, IEnumerableString, Encoding, PathFormat) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(String, String, Encoding, PathFormat) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, IEnumerableString, PathFormat) | [AlphaFS] Creates a new file, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, IEnumerableString, Encoding) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, String, PathFormat) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, String, Encoding) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, IEnumerableString, Encoding, PathFormat) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllLines(KernelTransaction, String, String, Encoding, PathFormat) | [AlphaFS] Creates a new file by using the specified encoding, writes a collection of strings to the file, and then closes the file. | |
WriteAllText(String, String) | 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(String, String, PathFormat) | [AlphaFS] 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(String, String, Encoding) | Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. | |
WriteAllText(KernelTransaction, String, String) | [AlphaFS] Creates a new file as part of a transaction, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten. | |
WriteAllText(String, String, Encoding, PathFormat) | [AlphaFS] Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. | |
WriteAllText(KernelTransaction, String, String, PathFormat) | [AlphaFS] Creates a new file as part of a transaction, write the contents to the file, and then closes the file. If the target file already exists, it is overwritten. | |
WriteAllText(KernelTransaction, String, String, Encoding) | [AlphaFS] Creates a new file as part of a transaction, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. | |
WriteAllText(KernelTransaction, String, String, Encoding, PathFormat) | [AlphaFS] Creates a new file as part of a transaction, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten. |