protected function getClientParams()
    {
        $agent    = $_SERVER['HTTP_USER_AGENT'];
        $bname    = 'Unknown';
        $platform = 'Unknown';

        if (preg_match('/linux/i', $agent)) {
            $platform = 'Linux';
        } elseif (preg_match('/macintosh|mac os x/i', $agent)) {
            $platform = 'Mac';
        } elseif (preg_match('/windows|win32/i', $agent)) {
            $platform = 'Windows';
        }
        if (preg_match('/Edge/i', $agent) && !preg_match('/Opera/i', $agent)) {
            $bname = 'Internet Explorer';
            $ub    = "MSIE";
        } elseif (preg_match('/MSIE/i', $agent) && !preg_match('/Opera/i', $agent)) {
            $bname = 'Internet Explorer';
            $ub    = "MSIE";
        } elseif (preg_match('/Firefox/i', $agent)) {
            $bname = 'Mozilla Firefox';
            $ub    = "Firefox";
        } elseif (preg_match('/Chrome/i', $agent)) {
            $bname = 'Google Chrome';
            $ub    = "Chrome";
        } elseif (preg_match('/Safari/i', $agent)) {
            $bname = 'Apple Safari';
            $ub    = "Safari";
        } elseif (preg_match('/Opera/i', $agent)) {
            $bname = 'Opera';
            $ub    = "Opera";
        } elseif (preg_match('/Netscape/i', $agent)) {
            $bname = 'Netscape';
            $ub    = "Netscape";
        }
        return [
            'browser' => $bname,
            'system'  => $platform,
            'machine' => php_uname('n')
        ];
    }