OpenTween.TweenMain.CheckAccountValid C# (CSharp) 메소드

CheckAccountValid() 개인적인 정적인 메소드

private static CheckAccountValid ( ) : bool
리턴 bool
        private static bool CheckAccountValid()
        {
            if (Twitter.AccountState != MyCommon.ACCOUNT_STATE.Valid)
            {
                errorCount += 1;
                if (errorCount > 5)
                {
                    errorCount = 0;
                    Twitter.AccountState = MyCommon.ACCOUNT_STATE.Valid;
                    return true;
                }
                return false;
            }
            errorCount = 0;
            return true;
        }
TweenMain