diff --git a/Modules.Config/ConfigManager.vb b/Modules.Config/ConfigManager.vb index 37c9b014..f471fb08 100644 --- a/Modules.Config/ConfigManager.vb +++ b/Modules.Config/ConfigManager.vb @@ -166,27 +166,6 @@ Public Class ConfigManager(Of T) End Try End Function - Public Function DecryptConnectionStrings() As Boolean - Try - Dim oType As Type = GetType(T) - Dim oProperties = oType.GetProperties() - Dim oEncryption = New EncryptionLegacy() - - For Each oProperty In oProperties - If Attribute.IsDefined(oProperty, GetType(ConnectionStringAttribute)) Then - Dim oValue = oProperty.GetValue(_Config, Nothing) - Dim oDecryptedValue = oEncryption.DecryptConnectionString(oValue) - oProperty.SetValue(_Config, oDecryptedValue, Nothing) - End If - Next - - Return True - Catch ex As Exception - _Logger.Error(ex) - Return False - End Try - End Function - ''' ''' Copies all properties from Source to Target, except those who have an attribute ''' listed in ExcludedAttributeTypes