* @brief Persists the current raw id so a later degraded read can reuse it instead of re-keying. */
| 300 | * @brief Persists the current raw id so a later degraded read can reuse it instead of re-keying. |
| 301 | */ |
| 302 | void Licensing::MachineID::saveLastGoodRawId(const QString& rawId, const QString& os) |
| 303 | { |
| 304 | m_settings.beginGroup("licensing"); |
| 305 | m_settings.setValue("lastGoodRawId", lastGoodCrypt().encryptToString(rawId)); |
| 306 | m_settings.setValue("lastGoodOs", os); |
| 307 | m_settings.endGroup(); |
| 308 | } |
| 309 | |
| 310 | //-------------------------------------------------------------------------------------------------- |
| 311 | // Information gathering and processing |
nothing calls this directly
no test coverage detected