https://github.com/dokan-dev/dokan-dotnet
Dokan DotNet Wrapper
https://github.com/dokan-dev/dokan-dotnet
c-sharp dokan-dotnet dokan-library drive driver mount wrapper
Last synced: 9 days ago
JSON representation
Dokan DotNet Wrapper
- Host: GitHub
- URL: https://github.com/dokan-dev/dokan-dotnet
- Owner: dokan-dev
- License: mit
- Created: 2015-05-22T14:01:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-10-22T22:26:36.000Z (3 months ago)
- Last Synced: 2025-10-22T22:46:43.087Z (3 months ago)
- Topics: c-sharp, dokan-dotnet, dokan-library, drive, driver, mount, wrapper
- Language: C#
- Homepage: http://dokan-dev.github.io
- Size: 2.26 MB
- Stars: 502
- Watchers: 34
- Forks: 116
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: license.txt
Awesome Lists containing this project
README
# Dokan.NET Binding
[](https://ci.appveyor.com/project/Liryna/dokan-dotnet)
[](https://www.nuget.org/packages/DokanNet)
[](https://www.nuget.org/packages/DokanNet)
## What is Dokan.NET Binding
By using Dokan library, you can create your own file systems very easily
without writing device driver. Dokan.NET Binding is a library that allows
you to make a file system on .NET environment.
## Install
To install DokanNet, run the following command in the Package Manager Console
PM> Install-Package DokanNet
//Prerelease
PM> Install-Package DokanNet -Pre
## Licensing
Dokan.NET Binding is distributed under a version of the "MIT License",
which is a BSD-like license. See the 'license.mit.txt' file for details.
## Environment
* Either of Microsoft .NET Framework 4.6, .NET Framework 4.8, .NET Standard 2.0, .NET Standard 2.1, .NET 8.0 or .NET 9.0
* Dokan library
## How to write a file system
To make a file system, an application needs to implement IDokanOperations interface, or the modernized variant, IDokanOperations2.
Once implemented, you can invoke Mount function on your driver instance
to mount a drive. The function blocks until the file system is unmounted.
Semantics and parameters are just like Dokan library. Details are described
at `README.md` file in Dokan library. See sample codes under 'sample'
directory.
Doxygen documentation is also available [](https://dokan-dev.github.io/dokan-dotnet-doc/html/)
## Unmounting
Just run the bellow command or your file system application call Dokan.Unmount
to unmount a drive.
> dokanctl.exe /u DriveLetter