G
Guest
Hi,
I am developing an infrastructure dll in c#.
my dll can be use by all kind of application containers win/web/console.
how do i implement a shutdown hook which will be called when the user exit
from the application (for all kind of .NET applications)?
for example in c# console application i do this with win32 interop
SetConsoleCtrlHandler function, but how do i know what kind of application
loaded my dll.
Thanks.
I am developing an infrastructure dll in c#.
my dll can be use by all kind of application containers win/web/console.
how do i implement a shutdown hook which will be called when the user exit
from the application (for all kind of .NET applications)?
for example in c# console application i do this with win32 interop
SetConsoleCtrlHandler function, but how do i know what kind of application
loaded my dll.
Thanks.