1 Star 0 Fork 0

lindexi / Imageshack

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Sm.ms

Build NuGet

Getting Started

NuGet install:

dotnet add package smms 

Create a Smms object and set the api token

using Sm.ms

            var smms = new Smms("xxx");

And you can generate the api token form https://sm.ms/home/apitoken

And then you can upload the image and receive the result string

            var file = new FileInfo(@"F:\lindexi\logo.png");
            Console.WriteLine(await smms.UploadImage(file.OpenRead(), file.Name));

Comments ( 0 )

Sign in for post a comment

About

Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
C#
1
https://gitee.com/lindexi/Imageshack.git
git@gitee.com:lindexi/Imageshack.git
lindexi
Imageshack
Imageshack
master

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385