GDPictureLicense via config
This commit is contained in:
parent
904c4a7f2e
commit
44267288ef
@ -36,4 +36,9 @@ Public Class Config
|
||||
''' gelesen werden soll.
|
||||
''' </summary>
|
||||
Public Property GDPictureVersion As String = ""
|
||||
''' <summary>
|
||||
''' Enthält die Lizenznummer des GDPicture Modules.
|
||||
''' Nur wenn nicht über die Datenbank zu holen!!.
|
||||
''' </summary>
|
||||
Public Property GDPictureLicenseString As String = ""
|
||||
End Class
|
||||
|
||||
@ -77,8 +77,12 @@ Public Class clsWorkEmail
|
||||
_windream_index = New clsWindream_Index(LogConf)
|
||||
_windreamConnectionString = WmConStr
|
||||
End If
|
||||
|
||||
If pConfigData.GDPictureLicenseString = String.Empty Then
|
||||
GDPictureLicense = ConfigDbFunct.GetProductLicense("GDPICTURE", pConfigData.GDPictureVersion, _LogConfig, ConStr)
|
||||
Else
|
||||
_Logger.Debug("clsWorkEmail - GDPicture License from local config!")
|
||||
End If
|
||||
|
||||
If String.IsNullOrEmpty(GDPictureLicense) = False Then
|
||||
_LicenseManager.RegisterKEY(GDPictureLicense)
|
||||
Else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user