Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I have so many usernames and passwords i cant keep trake of them all. So i made a password program that takes the title\username\password and wights a file. Well then i made a viewer so i could look at the passwords but i wont to create a way to remove an entry. ok heres how i hope it will work: They click button1 and it shows textbox1-3 they type the EXACT information and if it matchs an entry it removes all three items
  • Leaders
Posted

Depending on what you mean by "so many", I think I'd create a simple little Password class that has the three properties you want (marked Serializable) then store them in an arraylist and any time you add or remove an item just serialize the arraylist. The confirming on removal should be trivial at that point because you could just get the password object and test it's values against what the user typed in.

 

Now by "so many", if you mean more than you'd want to sit in memory as a whole, then I'd say you should be using a different technology (LDAP, Database, etc.) to be doing this.

--tim

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...