MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / trialEnabled

Method trialEnabled

app/src/Licensing/Trial.cpp:114–117  ·  view source on GitHub ↗

* @brief Checks whether a trial period is currently active. */

Source from the content-addressed store, hash-verified

112 * @brief Checks whether a trial period is currently active.
113 */
114bool Licensing::Trial::trialEnabled() const
115{
116 return m_deviceRegistered && m_trialEnabled && trialAvailable() && daysRemaining() > 0;
117}
118
119/**
120 * @brief Checks whether a trial period expired.

Callers 3

trialGetStatusMethod · 0.80
hasProLicenseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected