Karl,

>Does anybody know how to catch or otherwise handle a Control-C in a C#
>console app under .NET?

Use the SetConsoleCtrlHandler API.

http://discuss.develop.com/archives/wa.exe?A2=ind0106A&L=DOTNET&P=R19017


Mattias

===
Mattias Sj�gren
[EMAIL PROTECTED]

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to