Home | History | Annotate | Download | only in examples
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "rlz/lib/machine_id.h"
      6 
      7 int main() {
      8   std::string machine_id;
      9   if (!rlz_lib::GetMachineId(&machine_id))
     10     return 1;
     11 
     12   printf("%s\n", machine_id.c_str());
     13 }
     14