i am sending encrypted email attachment by spire doc i am getting warning message Evaluation Warning : The document was created with Spire.PDF for .NET.
I am using licence spire doc ,
why this warning message is showing ?
here is my code
If File.Exists(documentPath) Then
File.Copy(documentPath, attachFilePath, True)
'25/07/2014 start
Dim doc As New Spire.Pdf.PdfDocument
doc.LoadFromFile(attachFilePath)
doc.Security.KeySize = PdfEncryptionKeySize.Key128Bit
If dataRdr.Read() Then
Dim emailpwd As String = dataRdr("EmailPassword").ToString()
doc.Security.OwnerPassword = "test"
doc.Security.UserPassword = emailpwd
doc.Security.Permissions = PdfPermissionsFlags.Print Or PdfPermissionsFlags.FillFields
End If
'Save pdf file.
doc.SaveToFile(Server.MapPath("Files/") & "TempFile/" & Page.User.Identity.Name & "/" & attachfileName & ".pdf")
End If
lblAttachment.Text = attachfileName & ".pdf"