Loader having "An exception has occurred during a WebClient request" Error.

  • Thread starter Thread starter Varrious
  • Start date Start date
V

Varrious

Guest
Hello I'm coding a loader for a a cheat that is still in development. I am trying to figure out the error code of "an exception has occurred during a webclient request" but I can't find out whats causing it here is my code:
private void button1_Click(object sender, EventArgs e)
{
checkonline();
WebClient wb = new WebClient();
string HWIDLIST = wb.DownloadString("url that im not telling u"); // HWID List to make sure the program has the right users and not some kid with this loader.
if (HWIDLIST.Contains(textBox1.Text)) // You can add ! before the url to make it blacklisted instead of whitelisted.
string mainpath = "C:\\ProgramFiles\\KingSense\\KingSense.dll"; // path to cheat dll
wb.DownloadFile("url that im not telling u", mainpath); //Add the url to the dll that the cheats gonna have.
var name = "csgo"; //csgo's process name
var target = Process.GetProcessesByName(name).FirstOrDefault();
var path = mainpath;
var file = File.ReadAllBytes(path);

Continue reading...
 
Back
Top