/// <summary> /// pixiv.net site /// </summary> public SitePixiv(PixivSrcType srcType, IWebProxy proxy) { this.srcType = srcType; if (!startLogin) { startLogin = true; CookieRestore(); Login(proxy); } }
/// <summary> /// pixiv.net site /// </summary> public SitePixiv(PixivSrcType srcType, IWebProxy proxy) { this.srcType = srcType; new Thread(new ThreadStart(delegate { if (!startLogin) { startLogin = true; CookieRestore(); Login(proxy); } })).Start(); }
/// <summary> /// pixiv.net site /// </summary> public SitePixiv(PixivSrcType srcType) { this.srcType = srcType; CookieRestore(); }
/// <summary> /// pixiv.net site /// </summary> public SitePixiv(PixivSrcType srcType, IWebProxy proxy) { this.srcType = srcType; Task.Factory.StartNew(() => FirstLogin(proxy)); }
/// <summary> /// pixiv.net site /// </summary> public SitePixiv(PixivSrcType srcType) { this.srcType = srcType; }