def system_info(self):
        """Return system information."""
        res = self.client.service.SystemInfo()
        res = {ustr(x[0]): x[1] for x in res[0]}

        to_str = lambda arr: '.'.join([ustr(x) for x in arr[0]])
        res['OSVersion'] = to_str(res['OSVersion'])
        res['RuntimeVersion'] = to_str(res['RuntimeVersion'])
        res['Version'] = to_str(res['Version'])

        res['Name'] = ustr(res['Name'])
        res['Server'] = ustr(res['Server'])
        res['LocalNameCheck'] = ustr(res['LocalNameCheck'])
        res['UserHostAddress'] = ustr(res['UserHostAddress'])

        return res
def system_info ( self ) : res = self . client . service . SystemInfo ( ) res = { ustr ( x [ 0 ] ) : x [ 1 ] for x in res [ 0 ] } to_str = lambda arr : '.' . join ( [ ustr ( x ) for x in arr [ 0 ] ] ) res [ 'OSVersion' ] = to_str ( res [ 'OSVersion' ] ) res [ 'RuntimeVersion' ] = to_str ( res [ 'RuntimeVersion' ] ) res [ 'Version' ] = to_str ( res [ 'Version' ] ) res [ 'Name' ] = ustr ( res [ 'Name' ] ) res [ 'Server' ] = ustr ( res [ 'Server' ] ) res [ 'LocalNameCheck' ] = ustr ( res [ 'LocalNameCheck' ] ) res [ 'UserHostAddress' ] = ustr ( res [ 'UserHostAddress' ] ) return res
Return system information.