Esempio n. 1
0
 public void InitializeCredentials()
 {
     if (!string.IsNullOrWhiteSpace(EncryptedUsername))
     {
         Username = CredentialManager.DecryptData(EncryptedUsername);
     }
     if (!string.IsNullOrWhiteSpace(EncryptedPassword))
     {
         Password = CredentialManager.DecryptData(EncryptedPassword);
     }
 }