Removing properties in generated documents

SongYih 1 Reputation point
2021-11-15T09:47:55.263+00:00

I am using the following function to generate PDF documents
https://learn.microsoft.com/en-us/dotnet/api/microsoft.reporting.webforms.report.render?view=sqlserver-2016#Microsoft_Reporting_WebForms_Report_Render_System_String_System_String_System_String__System_String__System_String__System_String____Microsoft_Reporting_WebForms_Warning____

Is there any way to remove, hide or overwrite the "Application" and "PDF Producer" during generation. I don't want the underlying generation software to be revealed due to security reason.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,592 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,091 Reputation points
    2021-11-16T05:41:35.27+00:00

    Hi @SongYih ,
    I don't know how do you generate PDF documents.However,I know a method is RemoveCustomerDefined(). You could tried it. It could remove your custome pdf.
    Best regards,
    Yijing Sun


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.