Well, Aspose.Cells for .NET does have API for your requirement, see some description.
1) To get header, you may use methods like:
2) To get footer, you may try:
3) To remove a header in a section(first section), please use:
I have also created a sample code for your reference:
Workbook excel = new Workbook();
Worksheet worksheet = excel.Worksheets;
PageSetup pagesetup = worksheet.PageSetup;
string headersection1 = pagesetup.GetHeader(0);
string headersection2 = pagesetup.GetHeader(1);
string headersection3 = pagesetup.GetHeader(2);
string footersection3 = pagesetup.GetFooter(2);
//Remove the headers in first and second section of the sheet.