I am looking a way to masking out sensitive information on PDF files.
The fields I want to masking out are located in same place every time I download the files, and I would like to unmask the last 4 digits. I can use PDF editor from acrobat by the way.
If someone has a suggestion or guidance I will appreciated your help
Not sure, Just try this.
One way is you can mask those 4 digits by replacing with special characters like * or # or $ …
Lets make it generic.
Suppose file name stored in variable ‘file’
subStr = file.Substring(0,file.Length-4).ToString
finalStr = subStr.Replace(subStr, “*****”)+file.Substring(file.Length -4).ToString