From 01aec7ed694b537192093d37a7933f710bc0d70b Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Wed, 18 Oct 2017 17:03:37 -0400 Subject: UI Updates for Product and Update Status. --- python/__init__.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'python/__init__.py') diff --git a/python/__init__.py b/python/__init__.py index f4a8fac8..729e4f8a 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -21,6 +21,7 @@ import atexit import sys +from time import gmtime # Binary Ninja components import _binaryninjacore as core @@ -147,6 +148,12 @@ core_version = core.BNGetVersionString() core_build_id = core.BNGetBuildId() '''Build ID''' +core_serial = core.BNGetSerialNumber() +'''Serial Number''' + +core_expires = gmtime(core.BNGetLicenseExpirationTime()) +'''License Expiration''' + core_product = core.BNGetProduct() '''Product string from the license file''' -- cgit v1.3.1