EzSmb 1.3.9

Install-Package EzSmb -Version 1.3.9
dotnet add package EzSmb --version 1.3.9
<PackageReference Include="EzSmb" Version="1.3.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EzSmb --version 1.3.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EzSmb, 1.3.9"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install EzSmb as a Cake Addin
#addin nuget:?package=EzSmb&version=1.3.9

// Install EzSmb as a Cake Tool
#tool nuget:?package=EzSmb&version=1.3.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


SMB(Windows shared folder) Client Library powered by TalAloni's SmbLibrary, Xamarin & .NET Core Ready.



It's easy to use, and supports SMB ver2 for Windows 10.
Xamarin & .NET Core can access Windows Shared Folders and NAS without using mpr.dll or Netapi32.dll.
Supports .Net Standard 2.0.


SMBLibrary.ForXamarin >=
NETStandard.Library >= 2.0.3


Add NuGet Package to your project.

PM> Install-Package EzSmb

and write code like this:

Get items in shared folder:
//using EzSmb;
//using System;

// Get folder Node.
var folder = await Node.GetNode(@"\ShareName\FolderName", "userName", "password");

// List items
var nodes = await folder.GetList();
foreach (var node in nodes)
    Console.WriteLine($"Name: {node.Name}, Type: {node.Type}, LastAccessed: {node.LastAccessed:yyyy-MM-dd HH:mm:ss}");
Read file:
//using EzSmb;
//using System;
//using System.Text;
// Get file Node.
var file = await Node.GetNode(@"\ShareName\FolderName\FileName.txt", "userName", "password");

// Get MemoryStream.
using (var stream = await file.Read())
    var text = Encoding.UTF8.GetString(stream.ToArray());

and more:

Class Tree: Namespace.md

Breaking changes:

ver1.3.0: The first argument of Node.GetList method has been changed.

Node.GetList(string filter = "*", string relatedPath = null)
//           ^^ Inserted          ^^ move to second arg


LGPL v3 Licence





#What did I do wrong operation? synmra was not added to sidebar...


GitHub - TalAloni/SMBLibrary: SMB client & server implements.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.9 4,195 7/13/2021
1.3.8 575 6/29/2021
1.3.5 148 6/25/2021
1.3.1 387 6/10/2021
1.3.0 87 6/10/2021
1.2.0 496 5/24/2021
1.1.0 116 5/23/2021
1.0.7 150 5/16/2021
1.0.6 88 5/15/2021
1.0.5 169 5/11/2021
1.0.4 81 5/11/2021
1.0.3 74 5/10/2021
1.0.2 88 5/10/2021
1.0.1 82 5/6/2021
1.0.0 89 5/6/2021

Fix Node.Read method, result stream position to zero.