Hi,
In a .NET desktop application, passwords are mentioned in the ini file (passwords to connect to database ,access webservice etc)
I do not want to mention the correct password in the ini file since they are deployed in various machines. Can I encrypt the password and then decrypt it in the source code?
Is there any Inbuilt feature in .NET to encrypt and decrypt the password?
How to read the encrypted password from ini file and decrypt it in the .NET code?
Thanks
Ashok
In a .NET desktop application, passwords are mentioned in the ini file (passwords to connect to database ,access webservice etc)
I do not want to mention the correct password in the ini file since they are deployed in various machines. Can I encrypt the password and then decrypt it in the source code?
Is there any Inbuilt feature in .NET to encrypt and decrypt the password?
How to read the encrypted password from ini file and decrypt it in the .NET code?
Thanks
Ashok