Waits while pressing a key in secondTimeout seconds.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static Keys WaitForKey(
	double secondTimeout,
	bool key
)

Parameters

secondTimeout
Type: System..::.Double
The timeout in seconds.
key
Type: System..::.Boolean
Defines whether the waiting can be interrupted by a key press.

Return Value

A Keys.

See Also