• Stars
    star
    454
  • Rank 96,373 (Top 2 %)
  • Language
    C#
  • License
    MIT License
  • Created over 9 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Dokan DotNet Wrapper

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. 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