The version of the system :type: (:class:`int`, :class:`int`) -- (Major, Minor)
(self)
| 193 | |
| 194 | @utils.fixedpropety |
| 195 | def version(self): |
| 196 | """The version of the system |
| 197 | |
| 198 | :type: (:class:`int`, :class:`int`) -- (Major, Minor) |
| 199 | """ |
| 200 | data = self.get_version() |
| 201 | result = data.dwMajorVersion, data.dwMinorVersion |
| 202 | if result == (6,2): |
| 203 | result_str = self.get_file_version("kernel32") |
| 204 | result_tup = [int(x) for x in result_str.split(".")] |
| 205 | result = tuple(result_tup[:2]) |
| 206 | return result |
| 207 | |
| 208 | @utils.fixedpropety |
| 209 | def version_name(self): |
nothing calls this directly
no test coverage detected