static void Main(string[] args)
        {
            // This used to run the service as a console (development phase only)
            var lastFm = new LastFmData();

            lastFm.GetData();

            Console.WriteLine("Press Enter to terminate ...");
            Console.ReadLine();
        }
예제 #2
0
 private void timer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
 {
     lastFm.GetData();
 }