Question: Part 1 1. Create an C# Class library project LibLoginAuthenticator with solution name Your FirstName_YourLastName Labr 2. Change the default class file name to LoginAuthenticator.cs.
Part 1 1. Create an C# Class library project "LibLoginAuthenticator" with solution name "Your FirstName_YourLastName Labr" 2. Change the default class file name to "LoginAuthenticator.cs". 3. Create a static class in the file created with one function named Authenticate, this function will take username and password as parameters and return if the authentication is successful. The authenticated credential will be username "PRG650' and password "pass". Part 2 1. Add an C# Console Application project "LoginAuthenticatorConsole" to the solution created from part 1 2. Add the project from part I to the new project as reference and use the Authenticate function to check if authentication is successful. 3. This project will keep asking user to enter the username and password until user enter the correct information. Part 3 1. Add an C# Windows Forms App project "Login Authenticator WinForms" to the solution created from part 1 4. Add the project from part I to the new project as reference and use the Authenticate function to check if authentication is successful. 5. Create a simple Form to keep asking user to enter the username and password until user enter the correct information. Part 4 1. Change the Startup setting of the solution to start up all projects at once. (Hint: since the reference is setup before, start the class library project is not necessary) After Finish all the parts in this lab, zip the entire solution folder and upload to blackboard
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
