Read application history
Hi which C# API allow me to create a little spy application
I need to manage my kids so I need to record how long he play Genshi or League of Legend
Just capture the the open and close time would be accurate for my case
9 Replies
I suppose you need to use API provided by OS you're using.
If your son uses Windows, than something like this
https://www.pinvoke.net/default.aspx/user32.GetForegroundWindow
https://www.pinvoke.net/default.aspx/user32.GetWindowText
Why do you have to make one when it already exists?
https://www.microsoft.com/en-us/microsoft-365/family-safety
He doesnt even have a Microsoft account
He treat Windows is like Chromebook only open games
That windows also not official it's active using KMSpico
Copies the text of the specified window's title bar ?
Eh, you do realize Discord has ToS, right?
Talking about piracy or something related to is kind of a no-no
What is a ToS ?
Terms of Service
@TotechsStrypper you're not going to get help here - use the built in family/child safety functionality in Windows
This require a Microsoft account
Sure, low barrier to entry, then.