예제 #1
0
        static void Main(string[] args)
        {
            UserAuthentication.baseWebAddress = "http://*****:*****@itsligo.ie", "itsPaul$1");

            if (logged)
            {
                Console.WriteLine("\nList of Students:");
                List <Student> students = UserAuthentication.GetStudents();
                foreach (Student student in students)
                {
                    Console.WriteLine(student.FirstName + " " + student.LastName);
                }
                Console.ReadKey();
            }
        }