开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

lindexi / ImageshackC#

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

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

12_float_left_people 12_float_left_close