Click or drag to resize

FileContent Class

Content for a file which can be shown for signing by a hyperlink in the client application and signing hash of this file.
Inheritance Hierarchy
SystemObject
  ASDSoft.WebSigner.ContentContentBase
    ASDSoft.WebSigner.ContentContentBaseByte
      ASDSoft.WebSigner.Server.ContentBinaryContent
        ASDSoft.WebSigner.Server.ContentDocumentLinkContent
          ASDSoft.WebSigner.Server.ContentFileContent

Namespace:  ASDSoft.WebSigner.Server.Content
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
[SerializableAttribute]
public sealed class FileContent : DocumentLinkContent, 
	IContentBuilder

The FileContent type exposes the following members.

Constructors
  NameDescription
Public methodFileContent(Object, String)
Constructor for create instance without known document at instance creation time.
Public methodFileContent(Object, String, DocumentInfo)
Constructor for create instance with known content at instance creation time.
Top
Properties
  NameDescription
Public propertyApplicationContentId
Unique ID generated by hosting application identified content in hosting application (for example ID of document).
(Inherited from ContentBase.)
Public propertyContent
Content for signing, for example, text, byte array, ...
(Inherited from ContentBaseT.)
Public propertyDocument
Description and full binary content of document for signing.
(Inherited from DocumentLinkContent.)
Public propertyHasContent
Only for internal use.
(Inherited from ContentBaseT.)
Public propertyIsLink
Always return .
(Inherited from DocumentLinkContent.)
Public propertyNeedResetLazyContent
Only for internal use.
(Inherited from ContentBase.)
Public propertySignatureType
Signature type (Data or Hash).
(Inherited from ContentBase.)
Public propertyTitle
Content title for display in client window for selecting a certificate
(Inherited from BinaryContent.)
Top
Methods
  NameDescription
Public methodGetContentData
Return binary data or hash of content for signing.
(Inherited from BinaryContent.)
Public methodGetContentTitle
Return text description of content for display in client window for selecting a certificate.
(Inherited from BinaryContent.)
Public methodSetContent
Lazy setting of content if not set in constructor.
(Inherited from ContentBaseT.)
Top
See Also