This call allows the Reseller to check a customer Internet based license, to make sure the customer is attached to them as Reseller, and check demo status.
It should be called after setting the Datakey, with the type of search you are interested in testing. F=Full Address, T=Throughfare Address, Z=PostZon
VB.NET SimplyPostCodeLookup.SetDataKey (Me.txtDataKey) SimplyPostCodeLookup.GetInternetLicenseDetails SearchType$, errormessage$, validlicense$, licensestatustext$, _ ondemo$, demoarea$, demoexpire$, REID$ Dim t$ t = "errormessage:" & errormessage & vbCrLf t = t & "validlicense:" & validlicense & vbCrLf t = t & "licensestatustext:" & licensestatustext & vbCrLf t = t & "ondemo:" & ondemo & vbCrLf t = t & "demoarea:" & demoarea & vbCrLf t = t & "demoexpire:" & demoexpire & vbCrLf t = t & "Reseller ID:" & REID & vbCrLf MsgBox t
SimplyPostCodeLookup.SetDataKey (Me.txtDataKey) SimplyPostCodeLookup.GetInternetLicenseDetails SearchType$, errormessage$, validlicense$, licensestatustext$, _ ondemo$, demoarea$, demoexpire$, REID$ Dim t$ t = "errormessage:" & errormessage & vbCrLf t = t & "validlicense:" & validlicense & vbCrLf t = t & "licensestatustext:" & licensestatustext & vbCrLf t = t & "ondemo:" & ondemo & vbCrLf t = t & "demoarea:" & demoarea & vbCrLf t = t & "demoexpire:" & demoexpire & vbCrLf t = t & "Reseller ID:" & REID & vbCrLf MsgBox t
An account can have a valid license and still be on evaluation. Thus allowing a user to test another service, as well as having an actual license. But if a valid license is found, for SearchType, then “ondemo” will be “no”.