NFT.Storage.Net 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package NFT.Storage.Net --version 1.0.1                
NuGet\Install-Package NFT.Storage.Net -Version 1.0.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="NFT.Storage.Net" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NFT.Storage.Net --version 1.0.1                
#r "nuget: NFT.Storage.Net, 1.0.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.
// Install NFT.Storage.Net as a Cake Addin
#addin nuget:?package=NFT.Storage.Net&version=1.0.1

// Install NFT.Storage.Net as a Cake Tool
#tool nuget:?package=NFT.Storage.Net&version=1.0.1                

NFT.Storage.Net

c# library to easily upload files to NFT.Storage.

loads files directly into your account and returns a readable .net object

image

Usage:

public void TestUploadRandomImage()
{   
    // can upload local files from disk right now
    GUID_Image.GenerateGuidImage("Testfile1.png");
    // create api
    NFT_Storage_API api = new NFT_Storage_API(GlobalVar.TestApiKey);
    
    
    NFT_File file = api.Upload("Testfile1.png").Result;
    string url = file.URL;
    string checksum = file.Sha256Sum;
}

→ returns a simplified c# object file image

supported filetypes

  • stream data
  • locally stored files
  • files up to 100 mb

features

  • upload image to nft.storage
  • validate and show sha256sum
  • async / multithreading
  • unit tests
  • api key
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NFT.Storage.Net:

Package Downloads
CHIA-RPC

CHIA-RPC is a C# Nuget package that simplifies communication with the Chia client using RPC-JSON files. The package offers a wrapper for creating RPC objects and accessing RPC JSON via .ToString() or file I/O. It can be used with the HTTP-API, WebSocket API, or CLI of the Chia client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1.2 3,590 2/5/2023
1.0.1.1 275 2/5/2023
1.0.1 366 2/2/2023
1.0.0.1 1,816 12/29/2022
1.0.0 525 12/12/2022

- file download now supports progress update for processes
- improved async behaviour
- added support for .net 6