Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Regarding Control+C handling in C# Program.

$
0
0
I am creating a tool which is doing some stuff and I want if a user press ctrl + C in the middle of an execution, tool should detect this, cancel the further execution and come out gracefully. Can you please help me how to do this in C#?

Viewing all articles
Browse latest Browse all 31927

Latest Images

Trending Articles



Latest Images