{"id":178493,"date":"2013-04-30T15:47:03","date_gmt":"2013-04-30T11:47:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=178493"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=178493","title":{"rendered":"<span class=\"post_title\">\u041a\u0430\u043a \u044f \u043d\u0430\u0443\u0447\u0438\u043b \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0440\u0435\u0446\u043a\u0438\u0435 \u0441\u0435\u0440\u0438\u0430\u043b\u044b \u043e\u0434\u043d\u0438\u043c \u0449\u0435\u043b\u0447\u043a\u043e\u043c<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c!<br \/>  \u0423 \u043c\u043d\u043e\u0433\u0438\u0445 \u0438\u0437 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0434\u0440\u0443\u0436\u0430\u0442 \u0441 \u0442\u0435\u0445\u043d\u0438\u043a\u043e\u0439, \u0438 \u0434\u0440\u0443\u0436\u0438\u0442\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430 \u043d\u0438\u0445. \u041c\u043e\u044f \u0441\u0435\u043c\u044c\u044f \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u0441\u0435\u0440\u0438\u0430\u043b &quot;<a href=\"http:\/\/ru.wikipedia.org\/wiki\/\u0412\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u044b\u0439_\u0432\u0435\u043a\">\u0412\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u044b\u0439 \u0432\u0435\u043a<\/a>&quot;, \u0441\u0435\u0440\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u0445\u043e\u0434\u044f\u0442 \u0440\u0430\u0437 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e. \u0412\u0440\u043e\u0434\u0435 \u043d\u0435 \u0442\u0430\u043a \u0447\u0430\u0441\u0442\u043e, \u043d\u043e \u0441\u0443\u0431\u0431\u043e\u0442\u0443 \u0437\u0430 \u0441\u0443\u0431\u0431\u043e\u0442\u043e\u0439 \u0441\u043b\u044b\u0448\u0430\u0442\u044c \u00ab\u0418\u0434\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044c, \u043d\u0435\u0442 \u043b\u0438 \u0441\u0435\u0440\u0438\u0438\u00bb, \u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0430\u0437\u0434\u0430\u0447\u0443, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435 \u0441\u0442\u0430\u043b\u043e \u0443\u0442\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0435\u0440\u0435\u043b\u043e\u0436\u0438\u0442\u044c \u044d\u0442\u043e \u043d\u0430 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u043f\u043b\u0435\u0447\u0438 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0433\u043e .NetFramework-\u0430.<br \/>  \u0427\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<br \/>   \u2014 <a href=\"http:\/\/www.microsoft.com\/visualstudio\/rus\"> Visual Studio 2010 <\/a>\u0438\u043b\u0438 \u0432\u044b\u0448\u0435 <br \/>   \u2014 \u041a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442 <a href=\"http:\/\/aria2.sourceforge.net\/manual\/ru\/html\/aria2c.html\">Aria2c<\/a>.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e, \u043c\u0435\u0441\u0442\u0430\u043c\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0438\u043d\u0434\u0443\u0441\u0441\u043a\u0438\u0439 \u043a\u043e\u0434! \u042f \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u043b.<\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u0435\u0440\u0435\u0434\u043e \u043c\u043d\u043e\u0439 \u0441\u0442\u043e\u044f\u043b\u0430 \u0442\u0430\u043a\u0430\u044f: \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442 \u0442\u043e\u0440\u0440\u0435\u043d\u0442 \u0438 \u0441\u043a\u0430\u0440\u043c\u043b\u0438\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u043c\u0443 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043a\u0430\u0447\u0438\u0432\u0430\u044e\u0442 \u0441\u0435\u0440\u0438\u044e \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0443 (\u0444\u043b\u0435\u0448\u043a\u0443 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0432 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440).<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0443\u044e \u0441\u0435\u0440\u0438\u044e \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0441\u043a\u0430\u0447\u0430\u0442\u044c. \u0421\u0435\u0440\u0438\u0430\u043b \u0432\u044b\u0445\u043e\u0434\u0438\u0442 \u0432 \u0422\u0443\u0440\u0446\u0438\u0438 \u043f\u043e \u0441\u0440\u0435\u0434\u0430\u043c, \u0443 \u043d\u0430\u0441 \u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c \u0432 \u0441\u0443\u0431\u0431\u043e\u0442\u0443-\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u0438\u0435. \u041d\u0430 \u0434\u043d\u044f\u0445 \u0432\u044b\u0448\u043b\u0430 96 \u0441\u0435\u0440\u0438\u044f. \u0421\u0435\u0439\u0447\u0430\u0441 \u043f\u043e \u043a\u0430\u043b\u0435\u043d\u0434\u0430\u0440\u044e \u0438\u0434\u0435\u0442 18 \u043d\u0435\u0434\u0435\u043b\u044f. \u0417\u043d\u0430\u0447\u0438\u0442, \u043a \u043d\u043e\u043c\u0435\u0440\u0443 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438 \u043d\u0430\u0434\u043e \u043f\u0440\u0438\u0431\u0430\u0432\u0438\u0442\u044c 78, \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u0432 \u0431\u0443\u0434\u043d\u0438\u0439 \u0434\u0435\u043d\u044c, \u0438 79, \u0435\u0441\u043b\u0438 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0435.<br \/>  \u0412\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"cs\">        DateTimeFormatInfo dfi = DateTimeFormatInfo.CurrentInfo;         DateTime date1 = DateTime.Now;         Calendar cal = dfi.Calendar;         var week = cal.GetWeekOfYear(date1, dfi.CalendarWeekRule, dfi.FirstDayOfWeek);         var day = (int)cal.GetDayOfWeek(date1) == 0 ? 6 : (int)cal.GetDayOfWeek(date1) - 1; \/\/\u0412 \u0421\u0428\u0410 \u043d\u0435\u0434\u0435\u043b\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f \u0441 \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u0438\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u0435\u0442\u043e\u0434 GetDayOfWeek \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 0 \u0434\u043b\u044f \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u0438\u044f, \u0440\u0430\u0441\u0441\u0442\u0430\u0432\u0438\u043c  \u0434\u043d\u0438 \u0432 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435. GetWeekOfYear \u0436\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0430\u043d\u0438\u0435, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0430 \u043b\u043e\u043a\u0430\u043b\u044c         var epnumber = week + 79 - ((day &lt; 5) ? 1 : 0); <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u043c \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u043d\u043e\u043c\u0435\u0440 \u0441\u0435\u0440\u0438\u0438, \u043c\u043e\u0436\u0435\u043c \u0438\u0434\u0442\u0438 \u043d\u0430 \u0442\u0440\u0435\u043a\u043a\u0435\u0440.<br \/>  \u0421\u043f\u0435\u0440\u0432\u0430 \u043d\u0443\u0436\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u043c POST-\u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0447\u043a\u0443 login.php, \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u043c\u0443 \u043f\u0430\u0440\u0443 \u043b\u043e\u0433\u0438\u043d-\u043f\u0430\u0440\u043e\u043b\u044c.<\/p>\n<pre><code class=\"cs\">byte[] buffer = Encoding.ASCII.GetBytes(&quot;login_username=\u0412\u0410\u0428_\u041b\u041e\u0413\u0418\u041d&login_password=\u0412\u0410\u0428_\u041f\u0410\u0420\u041e\u041b\u042c&login=%C2%F5%EE%E4&quot;);         HttpWebRequest WebReq = (HttpWebRequest)WebRequest.Create(&quot;http:\/\/login.rutracker.org\/forum\/login.php&quot;);\/\/\u0421\u0442\u0440\u043e\u043a\u0430 \u0434\u043b\u044f Post-\u0437\u0430\u043f\u0440\u043e\u0441\u0430         var cc = new CookieContainer();         WebReq.CookieContainer = cc;\/\/\u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u0443\u043a\u0438         WebReq.Method = &quot;POST&quot;;         WebReq.ContentType = &quot;application\/x-www-form-urlencoded&quot;;         WebReq.ContentLength = buffer.Length;         HttpWebResponse WebResp;          try         {             Stream PostData = WebReq.GetRequestStream();             PostData.Write(buffer, 0, buffer.Length);             PostData.Close();             WebResp = (HttpWebResponse)WebReq.GetResponse();         }         catch (Exception e)         {             MessageBox.Show(&quot;\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0442\u0438&quot;, &quot; &quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);             return;         } <\/code><\/pre>\n<p>  \u0421\u0435\u0440\u0432\u0435\u0440 \u0432 \u043e\u0442\u0432\u0435\u0442 \u043f\u043b\u044e\u043d\u0443\u043b \u0432 \u043d\u0430\u0441 \u043a\u0443\u043a\u043e\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0443 \u043d\u0430\u0441 \u0432 cc. \u0422\u0435\u043f\u0435\u0440\u044c \u0441 \u044d\u0442\u043e\u0439 \u043a\u0443\u043a\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043f\u043e\u0438\u0441\u043a \u0441\u0435\u0440\u0438\u0438:  <\/p>\n<pre><code class=\"cs\">        var url = @&quot;http:\/\/rutracker.org\/forum\/tracker.php?nm=%D0%92%D0%B5%D0%BB%D0%B8%D0%BA%D0%BE%D0%BB%D0%B5%D0%BF%D0%BD%D1%8B%D0%B9%20%D0%B2%D0%B5%D0%BA%20sub%20&quot;+epnumber;  WebReq = (HttpWebRequest)WebRequest.Create(url);         WebReq.CookieContainer = cc;         WebReq.Method = &quot;GET&quot;;         WebReq.ContentType = &quot;application\/x-www-form-urlencoded&quot;;         WebResp = (HttpWebResponse)WebReq.GetResponse();          string result;         Encoding responseEncoding = Encoding.GetEncoding(WebResp.CharacterSet);         try         {             using (StreamReader sr = new StreamReader(WebResp.GetResponseStream(), responseEncoding))             {                 result = sr.ReadToEnd();             }         }         catch (Exception e)         {             MessageBox.Show(&quot;\u041e\u0448\u0438\u0431\u043a\u0430 \u0441\u0435\u0442\u0438&quot;, &quot;\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f&quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);             return;         } <\/code><\/pre>\n<p>  \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043f\u043e\u0438\u0441\u043a\u0430 \u043f\u0430\u0440\u0441\u0438\u043c \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0442\u043e\u0440\u0440\u0435\u043d\u0442 \u0444\u0430\u0439\u043b\u044b \u0432\u0438\u0434\u0430 <a href=\"http:\/\/dl.rutracker.org\/forum\/dl.php?12345\">dl.rutracker.org\/forum\/dl.php?12345<\/a>:<\/p>\n<pre><code class=\"cs\"> string pattern = @&quot;http:\/\/dl.rutracker.org\/forum\/dl.php\\?t=\\d+&quot;;         Regex regex = new Regex(pattern);         Match match = regex.Match(result);         if (match.Length == 0)         {              MessageBox.Show(&quot;\u041d\u043e\u0432\u0430\u044f \u0441\u0435\u0440\u0438\u044f \u0435\u0449\u0435 \u043d\u0435 \u0432\u044b\u0448\u043b\u0430!&quot;, &quot;&quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);             return;         }         else            AutoClosingMessageBox.Show(&quot;\u041d\u043e\u0432\u0430\u044f \u0441\u0435\u0440\u0438\u044f \u0432\u044b\u0448\u043b\u0430! \u041d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u0437\u0430\u043a\u0430\u0447\u043a\u0443.&quot;, &quot;Caption&quot;, 3000); <\/code><\/pre>\n<p>  \u0422\u043e\u0440\u0440\u0435\u043d\u0442-\u0444\u0430\u0439\u043b \u043d\u0430\u0439\u0434\u0435\u043d, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0435\u0433\u043e \u043d\u0430 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u0434\u0438\u0441\u043a:   <\/p>\n<pre><code class=\"cs\"> try         {             WebReq = (HttpWebRequest)WebRequest.Create(match.ToString());             WebReq.CookieContainer = cc;             WebReq.AllowAutoRedirect = false;             WebReq.Method = &quot;POST&quot;;             WebReq.Referer = url;             WebReq.ContentType = &quot;application\/x-www-form-urlencoded&quot;;              \/*\u041f\u0438\u0448\u0435\u043c \u0435\u0433\u043e \u0432 \u0444\u0430\u0439\u043b*\/             Stream ReceiveStream = WebReq.GetResponse().GetResponseStream();             string filename = @&quot;C:\\123.torrent&quot;;             byte[] buffer1 = new byte[1024];             FileStream outFile = new FileStream(filename, FileMode.Create);             int bytesRead;             while ((bytesRead = ReceiveStream.Read(buffer1, 0, buffer.Length)) != 0)                 outFile.Write(buffer1, 0, bytesRead);             outFile.Close();             ReceiveStream.Close();                       }         catch (Exception e)         {             MessageBox.Show(&quot;\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043a\u0430\u0447\u043a\u0435 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u0444\u0430\u0439\u043b\u0430!&quot;, &quot;&quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);             return;         } <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u043d\u0435 \u0437\u0430\u0431\u044b\u043b\u0438 \u043b\u0438 \u043d\u0435\u0437\u0430\u0434\u0430\u0447\u043b\u0438\u0432\u044b\u0435 \u0440\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0444\u043b\u0435\u0448\u043a\u0443, \u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0438 \u043d\u0430 \u043d\u0435\u0439 \u043c\u0435\u0441\u0442\u0430:<\/p>\n<pre><code class=\"cs\">string letter = &quot;&quot;;         foreach (DriveInfo i in System.IO.DriveInfo.GetDrives())         {               try             {                 if (i.DriveType.ToString() == &quot;Removable&quot; && i.ToString() != &quot;A:\\\\&quot;)                 {                     if (i.TotalFreeSpace &lt; 3000000000)                     {                         MessageBox.Show(&quot;\u041d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435 \u043c\u0430\u043b\u043e \u043c\u0435\u0441\u0442\u043e, \u043d\u0443\u0436\u043d\u043e 3\u0433\u0431!&quot;, &quot;&quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);                         return;                     }                      letter = String.Copy(i.ToString());                     break;                 }                 \/\/Console.WriteLine(i.DriveType);              }             catch (Exception E)             {                 return;             }         }         if (letter == &quot;&quot;)         {             MessageBox.Show(&quot;\u0412\u0441\u0442\u0430\u0432\u044c \u0444\u043b\u0435\u0448\u043a\u0443!&quot;, &quot;&quot;, MessageBoxButtons.OK, MessageBoxIcon.Error);             return;         } <\/code><\/pre>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e \u043a \u0441\u043a\u0430\u0447\u043a\u0435, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c!<\/p>\n<pre><code class=\"cs\"> string par = @&quot;--seed-time=0 -d &quot; + letter + &quot; --select-file=&quot;+(epnumber-3)+ @&quot; &quot;&quot;C:\\123.torrent&quot;&quot; &quot;; \/\/--seed-time=0 - \u0432\u044b\u0445\u043e\u0434 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u043d\u0435 \u0441\u0438\u0434\u0438\u0440\u0443\u044f. \u041d\u0443\u0436\u043d\u043e \u0434\u043b\u044f \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u0434\u0430 \u043f\u0440\u043e\u0441\u0442\u044f\u0442 \u043c\u0435\u043d\u044f \u043b\u0438\u0447\u0438. \/\/-d - \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u043f\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u0443\u044e \u0440\u0430\u043d\u0435\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u0443\u044e \u0444\u043b\u0435\u0448\u043a\u0443 \/\/--select-file - \u043d\u043e\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430, \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u043a\u0438. \u0412 \u0440\u0430\u0437\u0434\u0430\u0447\u0435 \u0442\u0440\u0438 \u0441\u0435\u0440\u0438\u0438 \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441 \u043d\u0430 3.          Process P = Process.Start(@&quot;C:\\aria2-1.17.0-win-32bit-build1\\aria2-1.17.0-win-32bit-build1\\aria2c.exe&quot;, par);         P.WaitForExit();         int result1 = P.ExitCode;         Console.WriteLine(result1);         if (result1 == 0)         {             MessageBox.Show(&quot;\u0424\u0438\u043b\u044c\u043c \u0441\u043a\u0430\u0447\u0430\u043d! \u041c\u043e\u0436\u043d\u043e \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u0444\u043b\u0435\u0448\u043a\u0443!&quot;, &quot;&quot;, MessageBoxButtons.OK, MessageBoxIcon.Information);         }         else         {             MessageBox.Show(&quot;\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430!&quot;, &quot;&quot;, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);         } <\/code><\/pre>\n<p>  \u0412\u0441\u0435, \u0441\u0435\u0440\u0438\u0430\u043b \u0441\u043a\u0430\u0447\u0430\u043d \u0438 \u0436\u0434\u0435\u0442 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430. <br \/>  \u041f\u043e\u043b\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043d\u0430 <a href=\"http:\/\/pastebin.com\/8L03vkJg\">http:\/\/pastebin.com\/8L03vkJg<\/a>.<br \/>  \u0411\u0435\u0440\u0435\u0433\u0438\u0442\u0435 \u0432\u0430\u0448\u0438\u0445 \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439.<\/p>\n<p>  P.S. \u0414\u0430, \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043d\u0430 Per\/PHP\/Python\/\u2026 \u043c\u043e\u0436\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u0440\u043e\u0447\u0435\u043a \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0441 \u0446\u0435\u043b\u044c\u044e \u0441\u0430\u043c\u043e\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f.    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/178493\/\"> http:\/\/habrahabr.ru\/post\/178493\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0414\u043e\u0431\u0440\u044b\u0439 \u0434\u0435\u043d\u044c!<br \/>  \u0423 \u043c\u043d\u043e\u0433\u0438\u0445 \u0438\u0437 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0434\u0440\u0443\u0436\u0430\u0442 \u0441 \u0442\u0435\u0445\u043d\u0438\u043a\u043e\u0439, \u0438 \u0434\u0440\u0443\u0436\u0438\u0442\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430 \u043d\u0438\u0445. \u041c\u043e\u044f \u0441\u0435\u043c\u044c\u044f \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u0441\u043c\u043e\u0442\u0440\u0438\u0442 \u0441\u0435\u0440\u0438\u0430\u043b &quot;<a href=\"http:\/\/ru.wikipedia.org\/wiki\/\u0412\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u044b\u0439_\u0432\u0435\u043a\">\u0412\u0435\u043b\u0438\u043a\u043e\u043b\u0435\u043f\u043d\u044b\u0439 \u0432\u0435\u043a<\/a>&quot;, \u0441\u0435\u0440\u0438\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u044b\u0445\u043e\u0434\u044f\u0442 \u0440\u0430\u0437 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e. \u0412\u0440\u043e\u0434\u0435 \u043d\u0435 \u0442\u0430\u043a \u0447\u0430\u0441\u0442\u043e, \u043d\u043e \u0441\u0443\u0431\u0431\u043e\u0442\u0443 \u0437\u0430 \u0441\u0443\u0431\u0431\u043e\u0442\u043e\u0439 \u0441\u043b\u044b\u0448\u0430\u0442\u044c \u00ab\u0418\u0434\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044c, \u043d\u0435\u0442 \u043b\u0438 \u0441\u0435\u0440\u0438\u0438\u00bb, \u0438\u0441\u043a\u0430\u0442\u044c \u0440\u0430\u0437\u0434\u0430\u0447\u0443, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u043e\u0440\u0440\u0435\u043d\u0442 \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435 \u0441\u0442\u0430\u043b\u043e \u0443\u0442\u043e\u043c\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0435\u0440\u0435\u043b\u043e\u0436\u0438\u0442\u044c \u044d\u0442\u043e \u043d\u0430 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 \u043f\u043b\u0435\u0447\u0438 \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0433\u043e .NetFramework-\u0430.<br \/>  \u0427\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f:<br \/>   \u2014 <a href=\"http:\/\/www.microsoft.com\/visualstudio\/rus\"> Visual Studio 2010 <\/a>\u0438\u043b\u0438 \u0432\u044b\u0448\u0435 <br \/>   \u2014 \u041a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0442\u043e\u0440\u0440\u0435\u043d\u0442-\u043a\u043b\u0438\u0435\u043d\u0442 <a href=\"http:\/\/aria2.sourceforge.net\/manual\/ru\/html\/aria2c.html\">Aria2c<\/a>.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-178493","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/178493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=178493"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/178493\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=178493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=178493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=178493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}