GDPictureLicense via config
This commit is contained in:
parent
904c4a7f2e
commit
44267288ef
@ -36,4 +36,9 @@ Public Class Config
|
|||||||
''' gelesen werden soll.
|
''' gelesen werden soll.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
Public Property GDPictureVersion As String = ""
|
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
|
End Class
|
||||||
|
|||||||
@ -77,8 +77,12 @@ Public Class clsWorkEmail
|
|||||||
_windream_index = New clsWindream_Index(LogConf)
|
_windream_index = New clsWindream_Index(LogConf)
|
||||||
_windreamConnectionString = WmConStr
|
_windreamConnectionString = WmConStr
|
||||||
End If
|
End If
|
||||||
|
If pConfigData.GDPictureLicenseString = String.Empty Then
|
||||||
GDPictureLicense = ConfigDbFunct.GetProductLicense("GDPICTURE", pConfigData.GDPictureVersion, _LogConfig, ConStr)
|
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
|
If String.IsNullOrEmpty(GDPictureLicense) = False Then
|
||||||
_LicenseManager.RegisterKEY(GDPictureLicense)
|
_LicenseManager.RegisterKEY(GDPictureLicense)
|
||||||
Else
|
Else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user