Click or drag to resize

DocumentInfo Constructor (Stream, String)

Primary recommended constructor.

Namespace:  ASDSoft.WebSigner.Server.Content
Assembly:  ASDSoft.WebSigner.Server (in ASDSoft.WebSigner.Server.dll) Version: 2.5.0
Syntax
C#
public DocumentInfo(
	Stream documentStream,
	string contentType
)

Parameters

documentStream
Type: System.IOStream
Stream with data of document. All content of document will be readed inside this constructor.
contentType
Type: SystemString
Media type of document used for downloading document in browser, for example application/pdf for PDF document.
Remarks
All content of document will be readed from documentStream inside this constructor. After create instance of DocumentInfo caller can close this stream.
See Also