| 328 | } |
| 329 | |
| 330 | std::wstring WireGuardController::configFile() const |
| 331 | { |
| 332 | std::wstring confFile = Utils::getConfigPath(); |
| 333 | if (confFile.empty()) { |
| 334 | spdlog::error("WireGuardController: could not get config file path"); |
| 335 | return std::wstring(); |
| 336 | } |
| 337 | confFile += L"\\" + kWireGuardAdapterIdentifier + L".conf"; |
| 338 | return confFile; |
| 339 | } |
| 340 | |
| 341 | void WireGuardController::getAmneziaWGStatus(ULONG64& lastHandshake, ULONG64& txBytes, ULONG64& rxBytes) const |
| 342 | { |
nothing calls this directly
no test coverage detected