Skip to content
Dokan DotNet Wrapper
C# JavaScript CSS Other
Branch: master
Clone or download
Latest commit f872e11 Mar 8, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
DokanNet.Tests Improve Buffer Handling to Reduce GC Pressure Sep 30, 2018
DokanNet Faster ConsoleLogger Feb 25, 2019
sample Merge pull request #224 from TrabacchinLuigi/mirror-parameters-3 Mar 6, 2019
.editorconfig Migrate to Visual Studio 2017 Apr 27, 2017
.gitignore Migrate to Visual Studio 2017 Apr 27, 2017
DokanNet.runsettings Added .runsettings Aug 27, 2015
DokanNet.testsettings Data-driven Overlapped tests included Dec 24, 2015 Add more info in about version 1.0.6 Aug 21, 2016
appveyor.yml Use dokan 1.2.2 Mar 8, 2019
dokan_logo.png Update the NuGet icon to the new icon Oct 12, 2017 Add samples from original DokanNet project May 22, 2015

Dokan.NET Binding

Build status NuGet downloads Version

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.


To install DokanNet, run the following command in the Package Manager Console

PM> Install-Package DokanNet

PM> Install-Package DokanNet -Pre 


Dokan.NET Binding is distributed under a version of the "MIT License", which is a BSD-like license. See the '' file for details.


Microsoft .NET Framework 4.0 and Dokan library

How to write a file system

To make a file system, an application needs to implement IDokanOperations interface. 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 '' file in Dokan library. See sample codes under 'sample' directory. Administrator privileges are required to run file system applications. Doxygen documentation is also available here.


Just run the bellow command or your file system application call Dokan.Unmount to unmount a drive.

dokanctl.exe /u DriveLetter

You can’t perform that action at this time.