RSC  0.17.1
Win32HostInfo.cpp File Reference
#include "HostInfo.h"
#include <windows.h>
#include <security.h>
#include <stdexcept>
#include <sstream>
#include <boost/format.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include "Win32Common.h"
Include dependency graph for Win32HostInfo.cpp:

Go to the source code of this file.

Namespaces

 rsc
 
 rsc::os
 

Macros

#define SECURITY_WIN32
 

Functions

RSC_EXPORT std::string rsc::os::currentMachineType ()
 Determine and return the machine type, usually CPU architecture, of the local machine. More...
 
RSC_EXPORT std::string rsc::os::currentMachineVersion ()
 Determine and return the version within its type, usually the CPU identification string, of the local machine. More...
 
RSC_EXPORT std::string rsc::os::currentSoftwareType ()
 Determine and return the type of the operating system, usually the kernel name, running on the local machine. More...
 
RSC_EXPORT std::string rsc::os::currentSoftwareVersion ()
 Determine and return the version of the operating system within its type, usually the kernel version string, running on the local machine. More...
 
RSC_EXPORT std::string rsc::os::currentHostname ()
 Determine and return the hostname of the local machine. More...
 
RSC_EXPORT std::string rsc::os::currentHostId ()
 Determine and return a unique id string of the local machine. More...
 
RSC_EXPORT boost::posix_time::ptime rsc::os::currentBootTime ()
 Return the boot time of the local machine. More...
 

Variables

const unsigned int rsc::os::HOST_ID_MAX_LENGTH = 1024
 

Macro Definition Documentation

#define SECURITY_WIN32

Definition at line 29 of file Win32HostInfo.cpp.