How to force IWMessageBoxView to close automatically?

Hello,

I have a wpf application and I give user a message with an OK button, in a certain case. The user leaving this messagebox be without clicking any button is an unwanted business behaviour.
How can I force messagebox to close automatically from code after some period of time?
I tried IWMessageBoxView.DestroyBoxResult();, but to no avail.

Well…honestly this has nothing to do with Genesys and more as a developer in whatever language you are using
Google or Duck Duck is your friend

https://stackoverflow.com/questions/14522540/close-a-messagebox-after-several-seconds