This section explains how to obtain information about Kaspersky Industrial CyberSecurity for Networks version.
Overview
You can get information about Kaspersky Industrial CyberSecurity for Networks version by using the ProductFacade service methods. This service is defined in the product_facade_service.proto file. Messages are defined in the version.proto file.
The ProductFacade service has the following method for getting information about Kaspersky Industrial CyberSecurity for Networks version:
GetVersionReturns information about Kaspersky Industrial CyberSecurity for Networks version.
Getting Kaspersky Industrial CyberSecurity for Networks version (example)
To get Kaspersky Industrial CyberSecurity for Networks version, use the GetVersion method. In the following example, a stub requests Kaspersky Industrial CyberSecurity for Networks version.
versionStub = product_facade_service_pb2_grpc.ProductFacadeStub(channel)
response = versionStub.GetVersion(google_dot_protobuf_dot_empty__pb2.Empty()) print("Version", "| Major:", response.versionMajor, "| Minor:", response.versionMinor, "| Release:", response.versionRelease, "| Build:", response.versionBuild) |