Application config
-
Hi, I have a basic command line application and I want to store a username and password it can use to access a web service. Is there a simple way of doing this using
System.Configuration
? Also I'd like to store my password in an encrypted format. Is there some way of doing this? Thanks :) -
Hi, I have a basic command line application and I want to store a username and password it can use to access a web service. Is there a simple way of doing this using
System.Configuration
? Also I'd like to store my password in an encrypted format. Is there some way of doing this? Thanks :)string UserName = ConfigurationManager.AppSettings["UserName"] string Password = ConfigurationManager.AppSettings["Password"] http://msdn2.microsoft.com/en-us/library/ms998283.aspx[^]
only two letters away from being an asset