Skip to content
Dokan DotNet Wrapper
C# JavaScript CSS Other
Branch: master
Clone or download
Latest commit f872e11 Mar 8, 2019
Permalink
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
CHANGELOG.md
DokanNet.runsettings Added .runsettings Aug 27, 2015
DokanNet.sln
DokanNet.testsettings Data-driven Overlapped tests included Dec 24, 2015
README.md Add more info in CHANGELOG.md 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
license.mit.txt Add samples from original DokanNet project May 22, 2015

README.md

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.

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

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 'README.md' 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.

Unmounting

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.