How does gmail know the brand of computer device

Watching the currently logged in devices in a google account I saw my PC listed with its brand: DELL-BRANDNAME (the brand name written on PC body). I thought it is not possible to get this information through JavaScript so chrome is giving this information to google ?

EDIT: By computer name I mean the brand the company that manufactured the computer has assigned to it not the hostname as the hostname is very deifferent from this

you can see the same situation here: https://www.reddit.com/r/privacy/comments/iv25xs/google_knows_my_computers_model/


Solution 1:

I concluded that chrome sends this information to google so when I tried from microsoft edge I didn't see the device model. I found on chrome privacy page that chrome collects this information: https://www.google.com/chrome/privacy/whitepaper.html

Users can share phone numbers and text between their devices (mobile or desktop) when they are signed-in to Chrome. The transferred data is encrypted during transit and Google cannot read or store the content. To let users select the device to share with, Chrome collects the following information about devices on which a user is signed-in and stores that in the user's Google account: device manufacturer, model number, Chrome version, OS, and device type.

Solution 2:

It's likely that you are seeing the semi-random name assigned to your computer's operating system upon initialization. You can confirm this (and change it to your liking) by editing the PC name in system properties, then revisiting the location previous displaying the information of concern.