York City will play Hartlepool United at home in the Enterprise National League.
Ticket details to be confirmed.