When the State is a stockholder in any corporation whose property is to be sold under execution, notice in writing shall be given by the sheriff by registered mail to the Governor and the Attorney General at least thirty days before the sale, stating the time and place of the sale and including a copy of the process under the authority of which such sale is to be made. Any sale held without complying with the provisions of this section is invalid with respect to the State.
N.C. Gen. Stat. § 1-339.55