Alphaleonis.Win32.Filesystem Namespace
Click or drag to resize
Alphaleonis.Win32.Filesystem Namespace
The Filesystem namespace contains classes to access and work with the local filesystem. Many of the classes in this namespace are replicas of the ones available in the System.IO namespace, but with added functionality. All methods in this namespace accept long windows unicode paths (i.e. paths starting with \\?\). Additional classes and methods are provided to provide more advanced functionality than that of System.IO.
Classes
  ClassDescription
Public classAlreadyExistsException
The exception that is thrown when an attempt to create a directory or file that already exists was made.
Public classBackupFileStream
The BackupFileStream provides access to data associated with a specific file or directory, including security information and alternative data streams, for backup and restore operations.
Public classBackupStreamInfo
The BackupStreamInfo structure contains stream header data.
Public classByHandleFileInfo
Contains information that the GetFileInformationByHandle function retrieves.
Public classCopyMoveResult
Class for CopyMoveResult that contains the results for the Copy or Move action.
Public classDevice
Provides static methods to retrieve device resource information from a local or remote host.
Public classDeviceInfo
Provides access to information of a device, on a local or remote host.
Public classDeviceNotReadyException
The requested operation could not be completed because the device was not ready.
Public classDirectory
Exposes static methods for creating, moving, and enumerating through directories and subdirectories.

This class cannot be inherited.

Public classDirectoryInfo
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
Public classDirectoryNotEmptyException
The operation could not be completed because the directory was not empty.
Public classDirectoryReadOnlyException
The operation could not be completed because the directory is read-only.
Public classDiskSpaceInfo
Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total amount of free space, and the total amount of free space available to the user that is associated with the calling thread.

This class cannot be inherited.

Public classDriveInfo
Provides access to information on a local or remote drive.
Public classFile
Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects.

This class cannot be inherited.

Public classFileIdBothDirectoryInfo
FILE_ID_BOTH_DIR_INFO - Contains information about files in the specified directory. Used for directory handles. Use only when calling GetFileInformationByHandleEx.
Public classFileInfo
Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects. This class cannot be inherited.
Public classFileReadOnlyException
The operation could not be completed because the file is read-only.
Public classFileSystemEntryInfo
Represents information about a file system entry.

This class cannot be inherited.

Public classFileSystemInfo
Provides the base class for both FileInfo and DirectoryInfo objects.
Public classInvalidTransactionException
The transaction handle associated with this operation is not valid.
Public classKernelTransaction
A KTM transaction object for use with the transacted operations in Alphaleonis.Win32.Filesystem
Public classLinkTargetInfo
Information about the target of a symbolic link or mount point.
Public classNotAReparsePointException
The file or directory was not a reparse point.
Public classPath
Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner.
Public classSafeFindFileHandle
Represents a wrapper class for a handle used by the FindFirstFile/FindNextFile Win32 API functions.
Public classSafeFindVolumeHandle
Represents a wrapper class for a handle used by the FindFirstVolume/FindNextVolume methods of the Win32 API.
Public classShell32
Provides access to a file system object, using Shell32.
Public classShell32Info
Contains Shell32 information about a file.
Public classSymbolicLinkTargetInfo
Represents information about a symbolic link.
Public classTransactionalConflictException
The function attempted to use a name that is reserved for use by another transaction.
Public classTransactionAlreadyAbortedException
It is too late to perform the requested operation, since the Transaction has already been aborted.
Public classTransactionAlreadyCommittedException
It is too late to perform the requested operation, since the Transaction has already been committed.
Public classTransactionException
The exception that is thrown when an attempt to create a file or directory that already exists was made.
Public classUnrecognizedReparsePointException
The function attempted to use a name that is reserved for use by another transaction.
Public classUnsupportedRemoteTransactionException
The remote server or share does not support transacted file operations.
Public classVolume
Static class providing utility methods for working with Microsoft Windows devices and volumes.
Public classVolumeInfo
Contains information about a filesystem Volume.
Structures
  StructureDescription
Public structureAlternateDataStreamInfo
Information about an alternate data stream.
Public structureShell32FileInfo
SHFILEINFO structure, contains information about a file system object.
Delegates
  DelegateDescription
Public delegateCopyMoveProgressRoutine
Callback used by CopyFileXxx and MoveFileXxx to report progress about the copy/move operation.
Enumerations
  EnumerationDescription
Public enumerationBackupStreamType
The type of the data contained in the backup stream.
Public enumerationCopyMoveProgressCallbackReason
Used by CopyFileXxx and MoveFileXxx. The reason that CopyMoveProgressRoutine was called.
Public enumerationCopyMoveProgressResult
Used by CopyFileXxx and MoveFileXxx. The CopyMoveProgressRoutine function should return one of the following values.
Public enumerationCopyOptions
Flags that specify how a file or directory is to be copied.
Public enumerationDeviceGuid
System-Defined Device Interface Classes
Public enumerationDirectoryEnumerationOptions
[AlphaFS] Directory enumeration options, flags that specify how a directory is to be enumerated.
Public enumerationDosDeviceAttributes
Defines the controllable aspects of the Volume.DefineDosDevice() method.
Public enumerationExtendedFileAttributes
Specifies how the operating system should open a file.
Public enumerationFileEncryptionStatus
Represents the encryption status of the specified file.
Public enumerationFinalPathFormats
Determines the format to convert a path to using GetFinalPathNameByHandle(SafeFileHandle)
Public enumerationMoveOptions
Used by MoveFileXxx.Flags that specify how a file or directory is to be moved.
Public enumerationPathFormat
Indicates the format of a path passed to a method.
Public enumerationReparsePointTag
Enumeration specifying the different reparse point tags.
Public enumerationShell32AssociationAttributes
Provides information for the IQueryAssociations interface methods, used by Shell32.
Public enumerationShell32AssociationString
ASSOCSTR enumeration - Used by the AssocQueryString() function to define the type of string that is to be returned.
Public enumerationShell32FileAttributes
Shell32 FileAttributes structure, used to retrieve the different types of a file system object.
Public enumerationShell32GetAttributesOf
SFGAO - Attributes that can be retrieved from a file system object.
Public enumerationShell32UrlType
Used by method UrlIs() to define a URL type.
Public enumerationStreamAttributes
WIN32_STREAM_ID Attributes of data to facilitate cross-operating system transfer.
Public enumerationSymbolicLinkTarget
Indicates whether the link target is a file or directory.
Public enumerationSymbolicLinkType
Specifies the type of a symbolic link.