Author, Title, Subject, Keyword not updating in PDF

Hi Team,
We are using Aspose.PDF(23.1.0 version) with .Net 8.0 for clear document properties metadata like Author, Title, Subject and Keyword but its not updating.

We have implemented below code and attached sample PDF file
031-201-00279-With Author.pdf (140.9 KB)

for reference.
doc.Info.Author = string.Empty;
doc.Info.Title = string.Empty;
doc.Info.Subject = string.Empty;
doc.Info.Keywords = string.Empty;
//dc:creator
if (doc.Metadata.ContainsKey(“dc:creator”))
{
doc.Metadata[“dc:creator”] = string.Empty;
}
if (doc.Metadata.ContainsKey(“dc:subject”))
{
doc.Metadata[“dc:subject”] = string.Empty;
}
if (doc.Metadata.ContainsKey(“pdf:Keywords”))
{
doc.Metadata[“pdf:Keywords”] = string.Empty;
}

@ChetanPanchani

We tested the scenario with 24.10 version of the API and did not notice the issue. Attached is the output PDF. Can you please try using the latest version of the API and let us know if issue still persists?
output.pdf (141.2 KB)