diff options
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r-- | NitrokeyManager.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 161f7aa..5b648b5 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -88,6 +88,11 @@ namespace nitrokey{ } } + string NitrokeyManager::get_serial_number() { + auto response = GetStatus::CommandTransaction::run(*device); + return response.data().get_card_serial_hex(); + } + string NitrokeyManager::get_status() { auto response = GetStatus::CommandTransaction::run(*device); return response.data().dissect(); @@ -410,4 +415,4 @@ namespace nitrokey{ return true; } -}
\ No newline at end of file +} |