N.Y. Business Corporation Law § 1319
(a) In addition to articles 1 (Short title; definitions; application; certificates; miscellaneous) and 3 (Corporate name and service of process) and the other sections of article 13 (foreign corporations), the following provisions, to the extent provided therein, shall apply to a foreign corporation doing business in this state, its directors, officers and shareholders: