Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Mon Jul 28, 2014 6:40 am

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"

patelravi
 
Posts: 1
Joined: Sat Jul 26, 2014 1:17 pm

Mon Jul 28, 2014 7:06 am

Hello,

In your code, you are using the features of Spire.PDF.dll, which needs the license for Spire.PDF component.
If you want to get further information about the license, please send your message to sales@e-iceblue.com.

Please feel free to contact us if you have any problems.

Best wishes,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc