Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 16:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# Autoupdater

Discussion on C# Autoupdater within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
Glücksbärchen™'s Avatar
 
elite*gold: 50
The Black Market: 194/1/2
Join Date: Nov 2010
Posts: 2,172
Received Thanks: 373
C# Autoupdater

Hallo,

und zwar suche ich für C# einen Autoupdater, der mit einer .php auf meinem Server kooperiert. Hatt da jemand ne Ahnung?

Mfg
Glücksbärchen™ is offline  
Old 12/06/2011, 15:43   #2
 
ηєσχ's Avatar
 
elite*gold: 53
Join Date: Feb 2009
Posts: 2,041
Received Thanks: 617

bzw.


Du kannst auch die Aktuelle Version immer beim starten mit dem Server abgleichen. Sollte eine neue Version verfügbar sein, wird sie von einem Webspace geladen.

Code:
using System;
using System.IO;
 
namespace ShadowCopy
{
    class Program
    {
        [LoaderOptimization(LoaderOptimization.MultiDomainHost)]
        static void Main(string[] args)
        {
            // Shadow-Copying ermöglichen:
            string cachePath = Path.Combine(
                Environment.CurrentDirectory,
                "__cache");
            string configFile = Path.Combine(
                Environment.CurrentDirectory,
                "Anwendung.exe.config");
 
            AppDomainSetup setup = new AppDomainSetup();
            setup.ApplicationName = "Anwendung";
            setup.ShadowCopyFiles = "true";
            setup.CachePath = cachePath;
            setup.ConfigurationFile = configFile;
 
            AppDomain domain = AppDomain.CreateDomain(
                "Beispiel",
                AppDomain.CurrentDomain.Evidence,
                setup);
 
            // Anwendung starten:
            domain.ExecuteAssembly("Anwendung.exe");
 
            // Cache bereinigen:
            AppDomain.Unload(domain);
            Directory.Delete(cachePath, true);
        }
    }
}
Wenn du hilfe bei Code brauchst, kannst du dich gerne im Thread von mir erkunden. (Ein Klick auf die Signatur)
ηєσχ is offline  
Thanks
2 Users
Old 12/06/2011, 15:48   #3
 
Glücksbärchen™'s Avatar
 
elite*gold: 50
The Black Market: 194/1/2
Join Date: Nov 2010
Posts: 2,172
Received Thanks: 373
habe dich mal in Skype geaddet
Glücksbärchen™ is offline  
Old 12/14/2011, 16:01   #4
 
NTAPRO's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 228
Received Thanks: 26
Thanks for this. I've always wondered how this was done. Just gotta break it down to understand what each part means.
NTAPRO is offline  
Reply


Similar Threads Similar Threads
Trouble with autoupdater
05/01/2010 - Dekaron Private Server - 3 Replies
http://i42.tinypic.com/kdnzmu.jpg any ideas there is only 53 div in that update :confused:
Guild Wars Mem Autoupdater 1.0
11/30/2009 - GW Exploits, Hacks, Bots, Tools & Macros - 90 Replies
Hi, hier mal mein Autoupdater. Da wir eh die Mems weiterhin tauschen habe ich mir gedacht kann ich auch mein Tool veröffentlichen. Stellt euch einfach wie bei dem Bild in die Ecke. http://imagesup.de/picture.php?code=rxt01tafvqo2t flfkpd
AutoUpdater [Guild Wars]
06/13/2009 - GW Exploits, Hacks, Bots, Tools & Macros - 79 Replies
-
[Release]AutoUpdater
03/29/2009 - CO2 PServer Guides & Releases - 11 Replies
Hello everyone... i`m back coding. ^^ My autopatcher includes(normaly) somewhere where to set ur link and what version will the autopatcher guide with =P; in autoupdate.dat set the "link" without anything more than the link + without "http://" like this: URL= //ur site where the autopatcher should find the updates Exe= //what should ur autopatcher run if its same version of the host
Fragen zu Hfff und autoUpdater
11/07/2008 - Guild Wars - 5 Replies
Also ich möchte gerne hfff botten ,habe ich richtig verstanden dasDas hier der luxon bot ist?:confused:wenn ja wo ist dann der für die kurzick ?(link wäre nett)und was hat es mit den Memory Adressen auf sich und mit den AutoUpdater für die adressen?Und kann mir einer das alles ein bisschen erklären?:confused: PS:Tut mir leid das ich sowas doofes fragen aber bin neu im botten und wollte jetzt auch mal damit anfangen selber schöne farmen bots zu machen und vorallem nen hfff bot.:D EDIT:Wie...



All times are GMT +1. The time now is 16:23.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.