This documentation is archived and is not being maintained.

ConsoleCancelEventArgs Properties

The ConsoleCancelEventArgs type exposes the following members.

Public property Cancel Gets or sets a value indicating whether simultaneously pressing the Control modifier key and C console key (CTRL+C) terminates the current process.
Public property SpecialKey Gets the combination of modifier and console keys that interrupted the current process.