Richard Barnette
unread,Feb 1, 2013, 1:58:45 PM2/1/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mattias Nissler, Achuith Bhandarkar, Ang Pan, Chromium OS dev
(resend from a better place)
On Feb 1, 2013, at 2:34 AM, Mattias Nissler <
mnis...@google.com> wrote:
>
>
> On Thu, Jan 31, 2013 at 11:01 PM, Achuith Bhandarkar <
ach...@chromium.org> wrote:
> Is this the code you're looking for?
>
https://code.google.com/codesearch#OAMlx_jo-ck/src/chrome/browser/policy/device_cloud_policy_manager_chromeos.cc&l=114-131
>
> I believe Mattias wrote this.
>
> Yep, that was me.
>
>
>
>
> On Thu, Jan 31, 2013 at 12:02 PM, Ang Pan <
osca...@google.com> wrote:
> Hi,
>
> We are trying to get HWID from device. We already have a private extension that calls some chrome code. We are thinking to read HWID in the chrome code as well. But I don't know how I can get HWID in the first place. Do you know how to get HWID info? Thanks a lot!
>
> Do you need the board ID or the serial number? Or something else? Basically chromeos::system::StatisticsProvider is your friend, but note that some of that data becomes unavailable after OOBE in order to prevent privacy hiccups. I assume you've talked to the privacy folks already to get clearance for what you're doing?
>
I assume by HWID Oscar means the HWID stored in RO firmware
that is used to identify the model of the unit. That data isn't especially
sensitive, since it's not unique to any individual unit.
The HWID is available at shell prompt with this command:
crossystem hwid
I'm assuming this can't be done from inside an extension, though.
-- jrb