Boot time

I am looking for a documented API for querying the following details -

* Current Boot time of kernel
* Login (success/failure) of local and remote users onto “this” computer

Any help would be much appreciated.

Thanks,

Look in the event log. All this info is normally logged. Documented API exists to retrieve it.
Note though that some folks feel ‘special’ and disable the eventlog service.

– pa

On Sep 18, 2017, at 4:04 PM, xxxxx@yahoo.com wrote:
>
> I am looking for a documented API for querying the following details -
>
> * Current Boot time of kernel

GetTickCount64 will tell you the number of milliseconds since boot, of course.

Tim Roberts, xxxxx@probo.com mailto:xxxxx
Providenza & Boekelheide, Inc.</mailto:xxxxx>