asked on March 31, 2015
•
Show version history
Hi,
I have a piece of VB code that I am using to fetch the current connection's Laserfiche serial number.
I would like to know if there is a more efficient way of doing this within my custom activity?
Using wrapper As ConnectionWrapper = executionContext.OpenConnection90() Dim database As ILFDatabase = CType(wrapper.Database, ILFDatabase) ' Instantiates an LFApplication Object. Dim App As New LFApplication Dim Serv As LFServer = App.GetServerByName(database.CurrentConnection.HostAddress) Dim LFSerialValue = Serv.Serial
Thanks
Sheldon
0
0