This repository contains source code for the SAFE.NetworkDrive library (netcore 3.0, C# 8.0).
Event sourced virtual drive, writing encrypted WAL to SQLite, synchronizing to MockNetwork and local materialization to in-memory virtual filesystem.
- Multiple local user accounts.
- Multiple local drive configs per local user account.
- One SAFENetwork account per drive.
- Encrypted local data.
- Adds local user if not exists.
- Add/Remove drives.
- Mount / unmount.
- Remove local user.
- Tray icon.
Not yet included:
- Connecting to live network.
Dokan driver (Dokan_x64.msi at https://github.com/dokan-dev/dokany/releases/tag/v1.2.2.1000)
https://github.com/dokan-dev/dokany/wiki/Installation Dotnet core runtime 3.0 ( .NET Core Installer: x64) https://dotnet.microsoft.com/download/dotnet-core/3.0
Make sure you have Dokan installed as well as dotnetcore 3.0 runtime. Compile the app from source. Then run SAFE.NetworkDrive.UI.exe or SAFE.NetworkDrive.Console.exe.
- Renaming or moving the first folder on the drive will result in a
BSOD
(blue screen of death) from apage_fault_in_nonpaged_area
. This is likely a problem in thedokan
driver. I've made them aware of this, but I'm not expecting it to be fixed anytime soon.
Beware that there might be BSOD:s in other cases as well.
- Visual Studio 2019 with dotnet core development workload.
- Windows (x64)
- Visual Studio 2019 Preview
- netcore SDK 3.0.100-preview3-010431
Get your developer related questions clarified on the SAFE Dev Forum. If you're looking to share any other ideas or thoughts on the SAFE Network you can reach out on the SAFE Network Forum.
Copyrights are retained by their contributors. No copyright assignment is required to contribute to this project.
Licensed under the General Public License (GPL), version 3 (LICENSE http://www.gnu.org/licenses/gpl-3.0.en.html).