Expiration date for PASSPORT Host Integration Objects.
Sessions.ExpireDate
Returns a string representing the date when the software will expire in the following format:
mm-dd-yyyy
Where mm is the month when the software will expire, dd is the day of the month the software will expire and yyyy is the year when the software will expire. If the expiration date has already passed, the string "Expired" is returned.
Read only.
|
Dim AllSessions As OhioSessions Set AllSessions = New OhioSessions MsgBox "ExpireDate = " & AllSessions.ExpireDate |
|
IOhioSessions AllSessions; if ( AllSessions.CreateDispatch(CLSID_OhioSessions) ) { TRACE( "SessionLimit = %d\n", AllSessions.GetSessionLimit() ); TRACE( "Version = %s\n", AllSessions.GetVersion() ); TRACE( "ExpireDate = %s\n", AllSessions.GetExpireDate() ); } |
|
try { PASSHIOLib.OhioSessions AllSessions; AllSessions = new PASSHIOLib.OhioSessionsClass (); MessageBox.Show ("SessionLimit = " + AllSessions.SessionLimit ); MessageBox.Show ("Version = " + AllSessions.Version ); MessageBox.Show ("ExpireDate = " + AllSessions.ExpireDate ); } catch (Exception ex) { MessageBox.Show ("Exception: " + ex); } |