MS Common: Version 3.0.2 - GDPicture Licensing
This commit is contained in:
parent
51003c6461
commit
be743445e5
@ -51,6 +51,6 @@ Public Class ClassCurrent
|
|||||||
Public Shared Property TEMP_FILES As List(Of String) = New List(Of String)
|
Public Shared Property TEMP_FILES As List(Of String) = New List(Of String)
|
||||||
|
|
||||||
Public Shared Property TEMP_WORK_FILES As List(Of String) = New List(Of String)
|
Public Shared Property TEMP_WORK_FILES As List(Of String) = New List(Of String)
|
||||||
|
Public Shared Property GDPictureLicense As String = "None"
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@ -13,7 +13,7 @@ Imports System.Runtime.InteropServices
|
|||||||
<Assembly: AssemblyCompany("")>
|
<Assembly: AssemblyCompany("")>
|
||||||
<Assembly: AssemblyProduct("DigitalData.EMLProfiler")>
|
<Assembly: AssemblyProduct("DigitalData.EMLProfiler")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2024")>
|
<Assembly: AssemblyCopyright("Copyright © 2024")>
|
||||||
<Assembly: AssemblyTrademark("3.0.1.0")>
|
<Assembly: AssemblyTrademark("3.0.2.0")>
|
||||||
|
|
||||||
<Assembly: ComVisible(False)>
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
|||||||
' übernehmen, indem Sie "*" eingeben:
|
' übernehmen, indem Sie "*" eingeben:
|
||||||
' <Assembly: AssemblyVersion("1.0.*")>
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
<Assembly: AssemblyVersion("3.0.1.0")>
|
<Assembly: AssemblyVersion("3.0.2.0")>
|
||||||
<Assembly: AssemblyFileVersion("3.0.1.0")>
|
<Assembly: AssemblyFileVersion("3.0.2.0")>
|
||||||
|
|||||||
@ -888,7 +888,11 @@ Public Class clsWorkEmail
|
|||||||
'ToDo Konsistenz prüfen
|
'ToDo Konsistenz prüfen
|
||||||
If oFileInfo.Extension.ToLower = ".pdf" Then
|
If oFileInfo.Extension.ToLower = ".pdf" Then
|
||||||
Dim oPDFConsistent As Boolean = True
|
Dim oPDFConsistent As Boolean = True
|
||||||
|
Dim oLicenseManager As New LicenseManager
|
||||||
|
oLicenseManager.RegisterKEY(GDPictureLicense)
|
||||||
|
|
||||||
Dim oGdPicturePDF As New GdPicturePDF()
|
Dim oGdPicturePDF As New GdPicturePDF()
|
||||||
|
' Lic
|
||||||
Dim oStatus As GdPictureStatus = oGdPicturePDF.LoadFromFile(oAttachmentFilePath, True)
|
Dim oStatus As GdPictureStatus = oGdPicturePDF.LoadFromFile(oAttachmentFilePath, True)
|
||||||
If oStatus <> GdPictureStatus.OK Then
|
If oStatus <> GdPictureStatus.OK Then
|
||||||
oPDFConsistent = False
|
oPDFConsistent = False
|
||||||
|
|||||||
@ -106,6 +106,9 @@ Public Class clsWorker
|
|||||||
Dim EmailAccountTable As DataTable = LoadEmailAccounts()
|
Dim EmailAccountTable As DataTable = LoadEmailAccounts()
|
||||||
Dim PollingProfileTable = LoadPollingProfiles(ProfileId)
|
Dim PollingProfileTable = LoadPollingProfiles(ProfileId)
|
||||||
|
|
||||||
|
Dim oSQLGDPicture = "SELECT LICENSE FROM TBDD_3RD_PARTY_MODULES WHERE ACTIVE = 1"
|
||||||
|
GDPictureLicense = Database.GetScalarValue(oSQLGDPicture)
|
||||||
|
|
||||||
If IsNothing(PollingProfileTable) Then
|
If IsNothing(PollingProfileTable) Then
|
||||||
Logger.Warn("Error while fetching Polling Profiles. Exiting.")
|
Logger.Warn("Error while fetching Polling Profiles. Exiting.")
|
||||||
Exit Sub
|
Exit Sub
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user