Results 1 to 2 of 2
  1. #1
    uplinkeliiite's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0

    Problem with download dll from a URL with WebClient

    With doing my cheat loader and attempting to download a DLL from a server to make it easier (less updates), I noticed that it only worked on my end and to other people, the DLL was corrupt. What could be the problem?

    in this case the variable "download" = my url
    Code:
    WebClient client = new WebClient();
                string tempPath = Path.GetTempPath();
                string filePath = "987654321zxyw.dll";
                string together = tempPath + filePath;
                client.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
                client.DownloadFileAsync(new Uri(download), 0 + together);
    [/CODE]

  2. #2
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,262
    My Mood
    Angelic
    Quote Originally Posted by uplinkeliiite View Post
    With doing my cheat loader and attempting to download a DLL from a server to make it easier (less updates), I noticed that it only worked on my end and to other people, the DLL was corrupt. What could be the problem?

    in this case the variable "download" = my url
    Code:
    WebClient client = new WebClient();
                string tempPath = Path.GetTempPath();
                string filePath = "987654321zxyw.dll";
                string together = tempPath + filePath;
                client.DownloadFileCompleted += new AsyncCompletedEventHandler(client_DownloadFileCompleted);
                client.DownloadFileAsync(new Uri(download), 0 + together);
    [/CODE]
    you are downloading file to ..\AppData\Local\Temp987654321zxyw.dll
    you can fix it by changing:
    string together = tempPath + filePath;
    into:
    string together = tempPath + "/" + filePath;

    I also don't understand why at the end:
    client.DownloadFileAsync(new Uri(download), 0 + together);
    you put 0 inthere xd
    your download path is "0C:\Users\..."
    Remove it
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

Similar Threads

  1. [Solved] I want confirmation with downloading DLLs from servers on my website
    By uplinkeliiite in forum C# Programming
    Replies: 3
    Last Post: 12-10-2016, 06:03 AM
  2. [Info] how to download from mpgh.net with dwonload manger without Problem!
    By jallalah in forum SKILL - Special Force 2 Hacks & Cheats
    Replies: 0
    Last Post: 08-19-2014, 11:32 AM
  3. problem in downloading hacks from site.
    By jonaron in forum Suggestions, Requests & General Help
    Replies: 0
    Last Post: 10-01-2012, 10:43 AM
  4. [Help] problem with downloading cf
    By deezy427 in forum CrossFire Hacks & Cheats
    Replies: 1
    Last Post: 10-15-2009, 08:04 PM
  5. Problems with downloading crossfire
    By jihyun5427 in forum CrossFire Hacks & Cheats
    Replies: 6
    Last Post: 06-27-2009, 06:34 PM