N.Y. Business Corporation Law § 1317
(a) Except as otherwise provided in this chapter, the directors and officers of a foreign corporation doing business in this state are subject, to the same extent as directors and officers of a domestic corporation, to the provisions of: