BiliRanking.Core.TSDownload.StartWithoutThread C# (CSharp) Метод

StartWithoutThread() публичный Метод

public StartWithoutThread ( ) : void
Результат void
        public void StartWithoutThread()
        {
            ThreadDL();
        }

Usage Example

Пример #1
0
        public static void GetPic(BiliInterfaceInfo info)
        {
            string avnum = info.AVNUM;
            string file  = Environment.CurrentDirectory + @"\pic\" + avnum + ".jpg";

            if (File.Exists(file))
            {
                Log.Info("封面已存在 - " + avnum);
            }
            else
            {
                if (info.pic != null)
                {
                    string url = info.pic;
                    Log.Info("正在获取封面 - " + info.AVNUM + " | " + url + " -> " + file);
                    TSDownload tsd = new TSDownload(url, file);
                    tsd.StartWithoutThread();
                }
            }
        }
All Usage Examples Of BiliRanking.Core.TSDownload::StartWithoutThread