Beispiel #1
0
        static void Main(string[] args)
        {
            try
            {
                Tracer.WriteLineInfo("GobiLoader for Windows 7\n---------------------------------------\n");

                Config.GobiLoaderConfiguration config = ConfigurationManager.GetSection("gobiLoader") as Config.GobiLoaderConfiguration;
                GobiLoader loader = new GobiLoader(config);
                loader.LoadFirmware();

                Tracer.WriteLineInfo("Done...");
            }
            catch (Exception ex) { Tracer.WriteLineError("!Boom: " + ex.Message); }

            Console.WriteLine("Press the any key to continue...");
            Console.ReadKey();
        }
Beispiel #2
0
 public GobiLoader(Config.GobiLoaderConfiguration config)
 {
     _config = config;
 }