使用C#捕获活动窗口和时序 [英] Capture active windows and timing using C#
本文介绍了使用C#捕获活动窗口和时序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi All,
I just want to know if any way to capture Active window with timing means from how many times someone used any application in windows-10, I need that date using Windows Application or Console Applications c#.
From that data, however, I can easily know which users had to spend how much time on computers with a particular application.
我尝试了什么:
我正在尝试查找实际数据,但是,我很容易知道哪些用户不得不花费多少时间在特定应用程序的计算机上。
谢谢
What I have tried:
I am trying to find actual data, however, I can easily know which users had to spend how much time on computers with a particular application.
Thanks
推荐答案
处理< a href =https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form.activated?redirectedfrom=MSDN&view=netframework-4.8> Form.Activated Event(System。 Windows.Forms)| Microsoft Docs [ ^ ],它可以在没有外部应用程序的情况下存储数据。
Handle the Form.Activated Event (System.Windows.Forms) | Microsoft Docs[^] within your application, and it can store the data without an external app.
这篇关于使用C#捕获活动窗口和时序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文