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

Method canActivate

app/src/Licensing/LemonSqueezy.cpp:142–145  ·  view source on GitHub ↗

* @brief Checks if the stored license key is valid in format. */

Source from the content-addressed store, hash-verified

140 * @brief Checks if the stored license key is valid in format.
141 */
142bool Licensing::LemonSqueezy::canActivate() const
143{
144 return m_license.length() == 36;
145}
146
147/**
148 * @brief Returns the application name.

Callers 3

activateMethod · 0.80
getStatusMethod · 0.80
activateLicenseMethod · 0.80

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected