Update GDPicture Variablenname LicenseString

This commit is contained in:
Developer01
2025-12-09 16:34:04 +01:00
parent 543db62095
commit 38e682dcef
5 changed files with 71 additions and 50 deletions

View File

@@ -77,17 +77,20 @@ Public Class clsWorkEmail
_windream_index = New clsWindream_Index(LogConf)
_windreamConnectionString = WmConStr
End If
If pConfigData.GDPictureLicenseString = String.Empty Then
If pConfigData.GDPictureLicenseAsString = String.Empty Then
_Logger.Debug("clsWorkEmail - GDPicture local is empty ..switching to db-getting ...")
GDPictureLicense = ConfigDbFunct.GetProductLicense("GDPICTURE", pConfigData.GDPictureVersion, _LogConfig, ConStr)
Else
_Logger.Debug("clsWorkEmail - GDPicture License from local config!")
_Logger.Debug("")
_Logger.Debug(String.Format("clsWorkEmail - GDPicture License from local config [{0}]", pConfigData.GDPictureLicenseAsString))
_Logger.Debug("")
GDPictureLicense = pConfigData.GDPictureLicenseAsString
End If
If String.IsNullOrEmpty(GDPictureLicense) = False Then
_LicenseManager.RegisterKEY(GDPictureLicense)
Else
_Logger.Error("clsWorkEmail() No value for GDPictureLicense found!")
_Logger.Error("clsWorkEmail() - No value for GDPictureLicense found")
End If
_EmailAccountID = pConfigData.EmailAccountId