Namespaces |
Classes | |
class | BufferPool |
Simple buffer pool for buffers used by IDokanOperations.ReadFile and IDokanOperations.WriteFile to avoid excessive Gen2 garbage collections due to large buffer allocation on the large object heap (LOH). | |
class | Dokan |
Helper methods to Dokan. More... | |
class | DokanException |
The dokan exception. More... | |
class | DokanHandle |
This class wraps a native DOKAN_HANDLE. | |
struct | FileInformation |
Used to provide file information to Dokan during operations by More... | |
class | FormatProviders |
Provide support to format object with null . More... | |
interface | IDokanFileInfo |
Dokan file information interface. More... | |
interface | IDokanOperations |
Dokan API callbacks interface. More... | |
interface | IDokanOperationsUnsafe |
This is a sub-interface of IDokanOperations that can optionally be implemented to get access to the raw, unmanaged buffers for ReadFile() and WriteFile() for performance optimization. Marshalling the unmanaged buffers to and from byte[] arrays for every call of these APIs incurs an extra copy that can be avoided by reading from or writing directly to the unmanaged buffers. More... | |
class | MockDokanFileInfo |
Mockable Dokan file information on the current operation. More... | |
Enumeration Type Documentation
|
strong |
Dokan mount options used to describe dokan device behavior.
Enumerator | |
---|---|
FixedDrive |
Fixed Drive. |
DebugMode |
Enable output debug message. |
StderrOutput |
Enable output debug message to stderr. |
AltStream |
Use alternate stream. |
WriteProtection |
Enable mount drive as write-protected. |
NetworkDrive |
Use network drive - Dokan network provider need to be installed. |
RemovableDrive |
Use removable drive. |
MountManager |
Use mount manager. |
CurrentSession |
Mount the drive on current session only. |
UserModeLock |
Enable Lockfile/Unlockfile operations. |
EnableNotificationAPI |
Enable methods in Dokan.Notify, which require this library to maintain a special handle while the file system is mounted. Without this flag, the methods in that inner class always return false if invoked. |
CaseSensitive |
Enable Case sensitive path. By default all path are case insensitive. For case sensitive: \dir\File and \diR\file are different files but for case insensitive they are the same. |
EnableNetworkUnmount |
Enables unmounting of network drives via file explorer |
DispatchDriverLogs |
Forward the kernel driver global and volume logs to the userland |
|
strong |
Error codes returned by DokanMain.
Enumerator | |
---|---|
Success |
Dokan mount succeed. |
Error |
Dokan mount error. |
DriveLetterError |
Dokan mount failed - Bad drive letter. |
DriverInstallError |
Dokan mount failed - Can't install driver. |
StartError |
Dokan mount failed - Driver answer that something is wrong. |
MountError |
Dokan mount failed. Can't assign a drive letter or mount point. Probably already used by another volume. |
MountPointError |
Dokan mount failed. Mount point is invalid. |
VersionError |
Dokan mount failed. Requested an incompatible version. |
|
strong |
Defines standard, specific, and generic rights. These rights are used in access control entries (ACEs) and are the primary means of specifying the requested or granted access to an object.
This extends the System.IO.FileAccess
enumerator in .NET that only contains flags for Read
(0x01
) and Write
(0x10
).
Enumerator | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
None |
No access defined. | |||||||||
ReadData |
Read access right to an object.
| |||||||||
WriteData |
Write access right to an object.
| |||||||||
AppendData |
For a file object, the right to append data to the file.
| |||||||||
ReadExtendedAttributes |
The right to read extended file attributes.
| |||||||||
WriteExtendedAttributes |
The right to write extended file attributes.
| |||||||||
Execute |
For a native code file, the right to execute the file. This access right given to scripts may cause the script to be executable, depending on the script interpreter.
| |||||||||
DeleteChild |
For a directory, the right to delete a directory and all the files it contains, including read-only files.
| |||||||||
ReadAttributes |
The right to read file attributes.
| |||||||||
WriteAttributes |
The right to write file attributes.
| |||||||||
Delete |
The right to delete the object.
| |||||||||
ReadPermissions |
The right to read the information in the object's security descriptor, not including the information in the system access control list (SACL).
| |||||||||
ChangePermissions |
The right to modify the discretionary access control list (DACL) in the object's security descriptor.
| |||||||||
SetOwnership |
The right to change the owner in the object's security descriptor.
| |||||||||
Synchronize |
The right to use the object for synchronization. This enables a thread to wait until the object is in the signaled state. Some object types do not support this access right.
| |||||||||
Reserved |
Obsolete, use FileAccess.AccessSystemSecurity instead. | |||||||||
AccessSystemSecurity |
Access system security. It is used to indicate access to a system access control list (SACL). This type of access requires the calling process to have the
| |||||||||
MaximumAllowed |
All the access rights that are valid for the caller.
| |||||||||
GenericAll |
All possible access rights.
| |||||||||
GenericExecute |
Generic execute access.
| |||||||||
GenericWrite |
Generic write access.
| |||||||||
GenericRead |
Generic read access.
|