I want to hide a server password when I make the connection in my code with .net. The password is in KeePass but I don't know how to get it.
This is my connection code to the server:
ftpConnection = new FTPConnection();
ftpConnection.ServerAddress = "0000"; // here i want to hide it
ftpConnection.UserName = "****";
ftpConnection.Password = "*****";
ftpConnection.TransferType = FTPTransferType.BINARY;
try
{
ftpConnection.Connect();
ftpConnection.GetWorkingDirectory();
}
catch (Exception ex)
{
fileDetails = ftpConnection.GetFileInfos();
//string[] nomsFichier = ftpConnection.GetFiles();
MessageBox.Show("Vous etes connecté au serveur!");
}
If any one can help me I'll be so thankful !!!