how to get time of the browser tab when it gets closed using C#? In other words is there any query to get start time and end time of a tab on a browser?
Asked
Active
Viewed 155 times
0
-
could you use signalR for that...since its a connected web process? – Ctznkane525 Jul 18 '18 at 12:37
1 Answers
0
You need to look at one of the following:
- Windows API, specifically GetWindow, and the chrome window hierarchy (eg tab windows will be nested inside the main chrome window)
- chrome.windows api
Once you've decided on one of the above, you will need to poll the chrome browser every second to decide if tabs have been opened/closed.

3-14159265358979323846264
- 3,250
- 2
- 15
- 38
-
can you tell how to connect this chrome window API with my c# application – Wasif Jul 31 '18 at 09:03
-
Take a look at the following answer. If you want more help, post the code you've tried and state the problems you are experiencing! ... https://stackoverflow.com/questions/42120468/control-chrome-programmatically – 3-14159265358979323846264 Jul 31 '18 at 14:27