Hello, we are developing a program in WPF - C#. We need to block windows functionality such as the job list, start menu, log off, restart, close, windows + d, etc.
That is to say, all kinds of admin stuff must be blocked. However, it must be possible that when the program is shut down there is...
I've faced with the problem, trying to set a timeout for function execution.
I have the following code:
public BitmapImage[,] GetResult(List<BitmapImage> list)
var task = Task.Run(() => GetBestPuzzleImage(list));