Helper methods to Dokan.
More...
|
| int | Version => (int)NativeMethods.DokanVersion() |
| | Retrieve native dokan dll version supported. More...
|
| |
| int | DriverVersion => (int)NativeMethods.DokanDriverVersion() |
| | Retrieve native dokan driver version supported. More...
|
| |
| DokanNet.Dokan.Dokan |
( |
ILogger |
logger | ) |
|
|
inline |
Initialize all required Dokan internal resources.
This needs to be called only once before trying to use DokanInstance.DokanInstance for the first time. Otherwise both will fail and raise an exception.
- Parameters
-
| logger | ILogger that will log all DokanNet debug informations. |
| virtual void DokanNet.Dokan.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotectedvirtual |
Dispose the native Dokan Library resources
- Parameters
-
| disposing | Whether this was called from Dispose() |
| void DokanNet.Dokan.Dispose |
( |
| ) |
|
|
inline |
Dispose the native Dokan Library resources
| bool DokanNet.Dokan.RemoveMountPoint |
( |
string |
mountPoint | ) |
|
|
inline |
Unmount a dokan device from a mount point.
- Parameters
-
| mountPoint | Mount point to unmount (Z, Z:, Z:\, Z:\MyMountPoint). |
- Returns
true if device was unmount -or- false in case of failure or device not found.
| bool DokanNet.Dokan.Unmount |
( |
char |
driveLetter | ) |
|
|
inline |
Unmount a dokan device from a driver letter.
- Parameters
-
| driveLetter | Driver letter to unmount. |
- Returns
true if device was unmount -or- false in case of failure or device not found.
| int DokanNet.Dokan.DriverVersion => (int)NativeMethods.DokanDriverVersion() |
Retrieve native dokan driver version supported.
- Returns
- Return native dokan driver version supported.
| int DokanNet.Dokan.Version => (int)NativeMethods.DokanVersion() |
Retrieve native dokan dll version supported.
- Returns
- Return native dokan dll version supported.
The documentation for this class was generated from the following file: