Expenses incurred by a director in defending a proceeding may be paid by the corporation in advance of the final disposition of such proceeding as authorized by the board of directors in the specific case or as authorized or required under any provision in the articles of incorporation or bylaws or by any applicable resolution or contract upon receipt of an undertaking by or on behalf of the director to repay such amount unless it shall ultimately be determined that he is entitled to be indemnified by the corporation against such expenses.
N.C. Gen. Stat. § 58-65-169