VOOZH about

URL: https://www.nuget.org/packages/EzSmb/

⇱ NuGet Gallery | EzSmb 1.3.10




EzSmb 1.3.10

dotnet add package EzSmb --version 1.3.10
 
 
NuGet\Install-Package EzSmb -Version 1.3.10
 
 
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="EzSmb" Version="1.3.10" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EzSmb" Version="1.3.10" />
 
Directory.Packages.props
<PackageReference Include="EzSmb" />
 
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 EzSmb --version 1.3.10
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EzSmb, 1.3.10"
 
 
#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 EzSmb@1.3.10
 
 
#: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=EzSmb&version=1.3.10
 
Install as a Cake Addin
#tool nuget:?package=EzSmb&version=1.3.10
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

EzSmb

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

👁 NuGet

Description

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.

Requirement

SMBLibrary.ForXamarin >= 1.4.6.1
NETStandard.Library >= 2.0.3

Usage

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(@"192.168.0.1\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(@"192.168.0.1\ShareName\FolderName\FileName.txt", "userName", "password");

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

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

Licence

LGPL v3 Licence

Author

Do-Be's

Contributors

upcu
synmra
icnocop
DenisKrasakovSDV

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

Links

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

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 was computed. 
.NET Framework net461 net461 was computed.  net462 net462 was computed.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on EzSmb:

Package Downloads
Dosaic.Plugins.Persistence.Smb

A plugin-first dotnet framework for rapidly building anything hosted in the web.

Blobject.CIFS

BLOB storage client for CIFS and SMB file servers, e.g. Windows and SAMBA. Refer to other Blobject packages for other storage repository types.

PiBox.Plugins.Persistence.Smb

PiBox is a `service hosting framework` that allows `.net devs` to `decorate their services with behaviours or functionality (think of plugins) while only using minimal configuration`.

SmartTender.DocumentService.NetFramework

Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.10 472,600 3/3/2022
1.3.9 52,633 7/13/2021
1.3.8 2,298 6/29/2021
1.3.5 992 6/25/2021
1.3.1 1,474 6/10/2021
1.3.0 922 6/10/2021
1.2.0 1,409 5/24/2021
1.1.0 980 5/23/2021
1.0.7 1,192 5/16/2021
1.0.6 981 5/15/2021
1.0.5 1,114 5/11/2021
1.0.4 925 5/11/2021
1.0.3 879 5/10/2021
1.0.2 901 5/10/2021
1.0.1 958 5/6/2021
1.0.0 177,761 5/6/2021

Show NTStatus in error message.