# Imageshack **Repository Path**: lindexi/Imageshack ## Basic Information - **Project Name**: Imageshack - **Description**: win10 uwp 图床 - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-06-24 - **Last Updated**: 2022-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Sm.ms | Build | NuGet | |--|--| |![](https://github.com/lindexi/Sm.ms/workflows/.NET%20Core/badge.svg)|[![](https://img.shields.io/nuget/v/smms)](https://www.nuget.org/packages/smms)| ## Getting Started NuGet install: ```csharp dotnet add package smms ``` Create a Smms object and set the api token ```csharp using Sm.ms var smms = new Smms("xxx"); ``` And you can generate the api token form [https://sm.ms/home/apitoken](https://sm.ms/home/apitoken) And then you can upload the image and receive the result string ```csharp var file = new FileInfo(@"F:\lindexi\logo.png"); Console.WriteLine(await smms.UploadImage(file.OpenRead(), file.Name)); ```