.NET AutoUpdater Library

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    .NET AutoUpdater Library

    Hello, i've written an AutoUpdater library in C#.
    This is for anyone with a custom made .NET Launcher for their game that wants to include an autoupdate function.

    Usage:
    PHP Code:
                using DiffUpdater;
                
    //Leave "user" and "pw" empty if http is used, otherwise specify login information.
                
    if (UpdateProgress.needUpdate("ftp://109.169.72.xxx""user""pw"))
                {
                    
    Form Updater = new UpdateProgress();
                    
    Updater.ShowDialog();
                }
                else
                {
                    
    InitializeComponent();
                } 
    Files Attached Release.rar (UPDATED 7/16/2013@5:53 PM)
    For the paranoids: https://www.virustotal.com/en/file/f...is/1373954053/

    Report any bugs here, so I can work them out.
    Note: Code is really messy, sorry. Will fix later...
    Last edited by Phant0m; 16-07-13 at 10:54 PM. Reason: Update


  2. #2
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts

    Re: .NET AutoUpdater Library

    So.. how exactly are the files set up for the web/CDN server for downloads?

  3. #3
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    Re: .NET AutoUpdater Library

    You have clearly not downloaded the Release folder i attached...
    There is an Update Manager named "UpdateManager.exe", from there you can upload to FTP or manually upload elsewhere.

  4. #4
    [*]Master of Server[*] hexpor is offline
    MemberRank
    Apr 2005 Join Date
    Thiên ĐànLocation
    361Posts

    Re: .NET AutoUpdater Library

    Would be better if writing in pascal obj , it's faster a lot !
    p/s:
    you should build client / server to get authentication , to prevent user from free downloading , user other port , just use IIS open http and change its port

  5. #5
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts

    Re: .NET AutoUpdater Library

    Quote Originally Posted by Phant0m View Post
    You have clearly not downloaded the Release folder i attached...
    There is an Update Manager named "UpdateManager.exe", from there you can upload to FTP or manually upload elsewhere.
    Actually I did download it, but I'm not running a random EXE file from someone who can't even document their code correctly.

    Not to mention you provided nearly no instruction on how to actually use this, but thats beside the point...

  6. #6
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    Re: .NET AutoUpdater Library

    Quote Originally Posted by Radeyo View Post
    Actually I did download it, but I'm not running a random EXE file from someone who can't even document their code correctly.

    Not to mention you provided nearly no instruction on how to actually use this, but thats beside the point...
    Well then, did you not the the Manager?
    FYI, there is something called VirusTotal and there is nothig more to document I think. Just needUpdate() and call new Form...

    Quote Originally Posted by hexpor View Post
    Would be better if writing in pascal obj , it's faster a lot !
    p/s:
    you should build client / server to get authentication , to prevent user from free downloading , user other port , just use IIS open http and change its port
    I can code C# and that's about it.
    I will probably add some more features, such as the ones you mentioned, in the future. Thanks!

  7. #7
    [*]Master of Server[*] hexpor is offline
    MemberRank
    Apr 2005 Join Date
    Thiên ĐànLocation
    361Posts

    Re: .NET AutoUpdater Library

    Quote Originally Posted by Phant0m View Post
    I can code C# and that's about it.
    I will probably add some more features, such as the ones you mentioned, in the future. Thanks!
    well , C# and Pascal obj / Delphi are not different much , i think you should try Delphi ... i really hate
    {
    //... code
    }

  8. #8
    Apprentice TheDanishGuy is offline
    MemberRank
    Oct 2012 Join Date
    6Posts

    Re: .NET AutoUpdater Library

    Is there any chance that you could publish the source code for the library?

  9. #9
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    Re: .NET AutoUpdater Library

    Yeah sure. Let me clean it up a bit and I will publish it here.

  10. #10
    Apprentice TheDanishGuy is offline
    MemberRank
    Oct 2012 Join Date
    6Posts

    Re: .NET AutoUpdater Library

    Quote Originally Posted by Phant0m View Post
    Yeah sure. Let me clean it up a bit and I will publish it here.
    Would it be easy to port it over to WPF? Or would a larger amount of work we required.

  11. #11
    gooby pls Phant0m is offline
    MemberRank
    Mar 2008 Join Date
    ArgentinaLocation
    1,498Posts

    Re: .NET AutoUpdater Library

    It should be fairly easy I think.
    As soon as I get home I will start cleaning the code and then you can do whatever you want with it.

  12. #12
    Custom Title Enabled James is offline
    LegendRank
    Jan 2007 Join Date
    DenverLocation
    2,288Posts

    Re: .NET AutoUpdater Library

    I'm gonna move this to coders paradise! Seems to fit better there, plus it might help it to get used/seen more

  13. #13
    Omega Ron is offline
    MemberRank
    Apr 2005 Join Date
    Location
    8,990Posts

    Re: .NET AutoUpdater Library

    Quote Originally Posted by Phant0m View Post
    It should be fairly easy I think.
    As soon as I get home I will start cleaning the code and then you can do whatever you want with it.
    Any update yet? :)

  14. #14
    • ♠️​ ♦️ ♣️ ​♥️ • שเ๒єtгเ๒є is offline
    MemberRank
    Mar 2012 Join Date
    917Posts

    Re: .NET AutoUpdater Library

    How is the exact condition UpdateProgress.needUpdate() returns true, is it game specific or what? It was in any game section before I guess, now it's here in coders paradise.

  15. #15
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: .NET AutoUpdater Library

    Quote Originally Posted by שเ๒єtгเ๒є View Post
    How is the exact condition UpdateProgress.needUpdate() returns true, is it game specific or what? It was in any game section before I guess, now it's here in coders paradise.
    It reads a remote file (UpdateList.ini) and compares line 1 to a local file (local.ver). I'm assuming that line contains a revision number.



Page 1 of 2 12 LastLast

Advertisement