A county may enter upon, appropriate, injure or destroy private lands, property or material, or lands previously granted or dedicated to public use that are no longer used for the purpose for which the lands were granted, according to the proceedings set forth in 26 Pa.C.S. (relating to eminent domain), for any purpose conferred upon the county by law.
16 P.S. § 2401-A