38 std::ostringstream stream;
39 stream << std::hex << gethostid();
46 throw std::runtime_error(
"Could not determine boot time: not supported.");
RSC_EXPORT std::string currentHostId()
Determine and return a unique id string of the local machine.
RSC_EXPORT boost::posix_time::ptime currentBootTime()
Return the boot time of the local machine.