Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public static bool IsOk(string username,string password)
  2. {
  3. for(int i=0;i<utilizatori.Count;i++)
  4. {
  5. if (utilizatori[i].Username == username && utilizatori[i].Password == password)
  6. {
  7. Authenticate.SetUsername(username);
  8. return ok = true;
  9. }
  10.  
  11. }
  12.  
  13. return ok;
  14.  
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement