Downloads  |  Buy

Sample VB.net Code to check expiration [Solved]

Sample VB.net Code to check expiration [Solved]

Postby JustinNG » November 6th, 2019, 3:42 pm

In LimeLM, I created a custom field for my software to expire one year after the activation key is created. I need sample Visual Basic Code (in VB.net) to check if the field is expired or not. Current samples on the site use C#.
JustinNG
 
Posts: 3
Joined: October 22nd, 2019, 7:24 pm

Re: Sample VB.net Code to check expiration

Postby Wyatt » November 6th, 2019, 9:14 pm

https://wyday.com/limelm/help/license-features/#components

C# and VB.NET are basically identical.

Get the field:

ta.GetFeatureValue("updates_expires")

Check the field:

ta.IsDateValid(ta.GetFeatureValue("updates_expires"),
TurboActivate.TA_DateCheckFlags.TA_HAS_NOT_EXPIRED)
User avatar
Wyatt
Site Admin
 
Posts: 6083
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire


Return to LimeLM, TurboActivate, & TurboFloat Support