Unable to remove / replace the producer in the document

Hi,
I am trying to remove/replace the producer of the document , but i am unable to do this.

my code :
Aspose.Pdf.Generator.Pdf pdf = new Aspose.Pdf.Generator.Pdf();
pdf.Producer = “XXXXX”;
pdf.Author = “XXXXX”;
pdf.Creator = “XXXXX”;

pdf.Save(@saveTo);

I have referred <a href="https://forum.aspose.com/t/96315


Hi there,


Thanks for your inquiry. I am afraid you can not change Producer field in PDF. Please check following documentation for details.


We are sorry for the inconvenience caused.

Best Regards,

Hi ,

The above link (Set a PDF File Information) says that we cannot change the producer and application fields.


Hi there,


My apologies for typo error. Yes as stated in document we can not update the producer fields, by design.

Best Regards,