// Copyright 2022 Google LLC. All Rights Reserved. This file and proprietary // source code may only be used and distributed under the Widevine License // Agreement. #include "read_client_info.h" namespace widevine { bool ReadClientInformation(std::string* company_name, std::string* model_name, std::string* model_year, std::string* product_name, std::string* device_name, std::string* arch_name, std::string* platform, std::string* form_factor, std::string* version) { // A real implementation would read these fields from a file or system API, // but for this example implementation, hardcoded values are fine. *company_name = "KubrickTech"; *model_name = "HAL 9000 with runtime client info"; *model_year = "2001"; *product_name = "clarke"; *device_name = "HAL"; *arch_name = "ARMv7"; *platform = "Linux"; *form_factor = "TV"; *version = "1.0.0"; return true; } } // namespace widevine