Hello!
What I'm trying to do is create an emulation of the session for excel add-in application.
I need to make an auto log out after session times out.
For WPF application it possible to do with WindowInteropHelper(Window window) class.
In this way:
var intrHelper = new WindowInteropHelper(window); var windowSpecificOSMessageListener = HwndSource.FromHwnd(intrHelper.Handle); windowSpecificOSMessageListener.AddHook(new HwndSourceHook(FilterResetTimerMessage));
But I have no find any ways to do it with NetOffice Api.
Any feature that I have missed?
Obviously, I need to handle all users' actions like a mouse and keyboard clicks that he does in opened Excel.
Hello! What I'm trying to do is create an emulation of the session for excel add-in application. I need to make an auto log out after session times out.
For WPF application it possible to do with
WindowInteropHelper(Window window)
class. In this way:var intrHelper = new WindowInteropHelper(window); var windowSpecificOSMessageListener = HwndSource.FromHwnd(intrHelper.Handle); windowSpecificOSMessageListener.AddHook(new HwndSourceHook(FilterResetTimerMessage));
But I have no find any ways to do it with NetOffice Api.
Any feature that I have missed? Obviously, I need to handle all users' actions like a mouse and keyboard clicks that he does in opened Excel.