OpenCIFS.Protocol
0.1.1
See the version list below for details.
dotnet add package OpenCIFS.Protocol --version 0.1.1
NuGet\Install-Package OpenCIFS.Protocol -Version 0.1.1
<PackageReference Include="OpenCIFS.Protocol" Version="0.1.1" />
<PackageVersion Include="OpenCIFS.Protocol" Version="0.1.1" />
<PackageReference Include="OpenCIFS.Protocol" />
paket add OpenCIFS.Protocol --version 0.1.1
#r "nuget: OpenCIFS.Protocol, 0.1.1"
#:package OpenCIFS.Protocol@0.1.1
#addin nuget:?package=OpenCIFS.Protocol&version=0.1.1
#tool nuget:?package=OpenCIFS.Protocol&version=0.1.1
OpenCIFS.Protocol
Shared SMB/CIFS protocol models, enums, codecs, validators, and state types used by the OpenCIFS client and server packages.
OpenCIFS 0.1.1 is alpha software. This package exposes bounded protocol foundations used by the current client and server surfaces, and exhaustive compatibility testing across SMB dialects and external peers has not been performed.
Scope
- SMB1 and SMB2 frame and header models
- dialect enums and negotiation helpers
- FSCC, metadata, IOCTL, compounding, and state-model types
- validation helpers for bounded OpenCIFS protocol handling
OpenCIFS.Protocol is not a standalone SMB client or server. Use OpenCIFS.Client or OpenCIFS.Server for end-to-end SMB flows.
Install
dotnet add package OpenCIFS.Protocol
Example
using OpenCIFS.Protocol;
SmbDialect minimumDialect = SmbDialect.Smb2002;
SmbDialect maximumDialect = SmbDialect.Smb21;
Console.WriteLine($"Dialect floor: {minimumDialect}");
Console.WriteLine($"Dialect ceiling: {maximumDialect}");
The verified scope currently covers the managed SMB 2.0.2 and SMB 2.1 slices implemented in this repository. SMB 3.x and SMB1/CIFS compatibility work beyond the current bounded scope remains backlog.
| Product | Versions 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 is compatible. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on OpenCIFS.Protocol:
| Package | Downloads |
|---|---|
|
OpenCIFS.Transport
Shared OpenCIFS direct-TCP, NetBIOS session-service, and framing helpers. |
|
|
OpenCIFS.Security
Shared OpenCIFS NTLMv2, SPNEGO, signing, encryption, and key-derivation helpers. |
|
|
OpenCIFS.Client
Managed OpenCIFS direct-TCP SMB 2.0.2 through bounded SMB 3.0.2 client library. |
|
|
OpenCIFS.Server
Managed OpenCIFS direct-TCP SMB 2.0.2 through bounded SMB 3.0.2 server library. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.1-alpha | 38 | 10/3/2026 |
| 0.2.0-alpha | 46 | 10/3/2026 |
| 0.1.1 | 207 | 9/29/2026 |
0.1.1: fixed truncated multi-page directory enumeration (and '.'/'..' are no longer returned), short-read truncation in ReadAllBytesAsync, READ/WRITE frames that exceeded the direct-TCP frame limit, stale responses after cancellation, unsafe concurrent use of one client connection, raw ChannelClosedException on transport loss, OperationCanceledException on connect timeout, and stale or inconsistent server file timestamps; added OpenCifsClientTransportException, ranged ReadAsync, streaming OpenReadAsync and WriteAsync(Stream), Metadata.ExistsAsync, recursive Directories.CreateAsync, share-root paths, and directory-entry IsDirectory plus UTC timestamps. See https://github.com/jchristn/OpenCIFS/blob/main/CHANGELOG.md.