SmartInVenture.StorageLib 2.1.1

dotnet add package SmartInVenture.StorageLib --version 2.1.1
                    
NuGet\Install-Package SmartInVenture.StorageLib -Version 2.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SmartInVenture.StorageLib" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SmartInVenture.StorageLib" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="SmartInVenture.StorageLib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SmartInVenture.StorageLib --version 2.1.1
                    
#r "nuget: SmartInVenture.StorageLib, 2.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SmartInVenture.StorageLib@2.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SmartInVenture.StorageLib&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=SmartInVenture.StorageLib&version=2.1.1
                    
Install as a Cake Tool

StorageLib

Universal storage abstraction library for .NET applications supporting local, cloud, and remote storage backends.

Features

  • Universal Interface: Single IStorage interface for all storage types
  • Multiple Backends: Local filesystem, memory, Azure Blob, AWS S3, SSH/SFTP
  • Throttling Support: Built-in read/write speed limiting
  • Async/Await: Fully asynchronous operations with cancellation support
  • Extensible: Easy to add new storage backends

Quick Start

using StorageLib.Abstractions;
using StorageLib.Connectors;

// Local storage
var localStorage = new LocalStorage();
await localStorage.InitializeAsync("", @"C:\data");

// List files
var files = await localStorage.GetFilesAsync("/documents");

// Read file info
var fileInfo = await localStorage.GetFileInfoAsync("/documents/example.txt");

Supported Storage Types

  • Local: Local filesystem storage
  • Memory: In-memory storage (volatile)
  • Azure: Azure Blob Storage
  • AWS: Amazon S3 storage
  • SSH: SSH/SFTP storage
  • OpenSlide: Virtual whole-slide imaging system

License

MIT License

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SmartInVenture.StorageLib:

Package Downloads
UvfLib.Master

UVF/Cryptomator IStorage encryption decorators (managed). The Release build also produces the native "TitanVault" AOT facade.

SmartInVenture.StorageLib.OpenSlide

OpenSlide (whole-slide medical imaging) connector and wrapper for SmartInVenture.StorageLib. Split out of the core StorageLib package so the core stays lean; this package bundles the native OpenSlide libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.1 213 6/14/2026
2.1.0 112 6/14/2026
2.0.0 95 6/14/2026
1.0.1 93 6/14/2026

2.1.0:
- OpenSlide moved to a separate package: SmartInVenture.StorageLib.OpenSlide
 (keeps this core package lean; the 11 MB of native imaging libs ship only with
 the OpenSlide package now).
- Core: IStorage abstraction; LocalStorage, MemoryStorage, WindowsMetaMemoryStorage;
 Azure Blob / S3 / SSH connectors; throttling, caching; FuseFlags POSIX support.
- (2.0.0) BREAKING: IStorage.ReadAsync/WriteAsync return Task<int> (bytes transferred).