Watch 1 Star 0 Fork 0

lindexi / ImageshackC#

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
win10 uwp 图床 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

##smms图床

使用

            //传入文件
            smms.Model.Imageshack imageshack = new Imageshack()
            {
                File=File,
            };
            //上传完成事件,其中str为sm.ms返回,一般为json
            //Reminder是例子,可以根据具体修改,注意要同步CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync
            imageshack.OnUploadedEventHandler += (sender, str) => Reminder = str.Replace("\\/","/");
            //上传
            imageshack.UpLoad();

Comments ( 0 )

You need to Sign in for post a comment

Help Search