Program.cs
/// <summary>
/// Check that we have not exceeded our remaining attempts to perform work due to too many license failures.
/// </summary>
Check that we have not exceeded our remaining attempts to perform work due to too many license failures.
Check that we have not exceeded our remaining attempts to perform work due to too many license failures .
private static void LimitAttempts()
        {
            if (_maxAttempts == 0)
            {
                Console.WriteLine("Too many attempts. Exiting.");
                throw new Exception("Max attempts reached.");
            }
        }
private static void LimitAttempts ( ) { if ( _maxAttempts == 0 ) { Console . WriteLine ( " " ) ; throw new Exception ( " " ) ; } }
Check that we have not exceeded our remaining attempts to perform work due to too many license failures.
Check that we have not exceeded our remaining attempts to perform work due to too many license failures .