Beispiel #1
0
        static void Main(string[] args)
        {
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
            Tivo.Hmo.DiscoveryBeacon.Start();
            HmeServer <DiskUsageApp> server = new HmeServer <DiskUsageApp>("Disk Usage", new Uri("http://localhost:9688/DiskUsage/"));

            server.Start();
            Console.WriteLine("Tivo disk usage application started.  Press enter to exit.");
            Console.ReadLine();
            server.Stop();
        }