I need my application to be able to remember a user's username and password so that in the future the user doesn't have to enter it again.
Obviously, in order to "remember" the username and password for future use, this means my application will have to store the username and password to disk in some way.
How is this typically done? I know that Pidgin stores the username and password in plain text. I'd like to avoid this if possible. Is there a better way?
EDIT: The platform I'm targeting is Windows.