Is there a way to store passwords securely in C# without the use of a database? I want the application to not have to rely on a database, but I do not want to store the password in plain text. For example, I currently do something like:
public static string username = "george";
public static string password = "password";
I'd like the easiest and securest way to store it otherwise. The application does not need a database for any other purpose, so I'm simply trying to avoid introducing a database for the purpose of storing only a single piece of information.