This method updates the PASSPORT Host Integration license code.
Sessions.UpdateLicense( licensecode )
Parameter |
Description |
licensecode |
License code. |
One of the following strings is returned describing whether the update is successful or not:
String Value |
"Thank you for purchasing PASSPORT Host Integration Objects." |
"This software will expire on mm-dd-yyyy." |
"Invalid Serial Code." |
"Expired Serial Code." |
"Failed to write to passhio.key." |
|
Dim AllSessions As OhioSessions Set AllSessions = New OhioSessions strResult = AllSessions.UpdateLicense("1234-1234-1234-1234") MsgBox "UpdateLicense = " & strResult
|
|
IOhioSessions AllSessions; if ( AllSessions.CreateDispatch(CLSID_OhioSessions)
) CString strResult = AllSessions.UpdateLicense( "1234-1234-1234-1234" ); TRACE( "UpdateLicense = %s\n", strResult ); } |
|
try { PASSHIOLib.OhioSessions AllSessions; String strResult; AllSessions = new PASSHIOLib.OhioSessionsClass (); strResult = AllSessions.UpdateLicense ("1234-1234-1234-1234"); MessageBox.Show (strResult); } catch (Exception ex) { MessageBox.Show ("Exception: " + ex); } |