NFT.Storage.Net
c# library to easily upload files to NFT.Storage.
loads files directly into your account and returns a readable .net object
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
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