コード例 #1
0
 private void UserLogin()
 {
     Console.Out.WriteLine("[User Login]");
     Console.Out.WriteLine("Input your user name");
     PrintInputCharacter();
     username = Console.In.ReadLine();
     Console.Out.WriteLine("Input your password");
     PrintInputCharacter();
     password               = PasswordHash(Console.In.ReadLine(), kSaltString);
     isPasswordRight        = controller.CheckUserPassword(username, password);
     isAdministratorAccount = controller.CheckIsAdministratorUser(
         username, password);
 }