API reference
Method AddFile
- Namespace
- DisCatSharp.Interactivity.Entities
- Assembly
- DisCatSharp.Interactivity.dll
AddFile(string, Stream, bool, string)
Adds a file to the page.
public Page AddFile(string filename, Stream data, bool resetStreamPosition = false, string description = null)
Parameters
filenamestringName of the file.
dataStreamFile data.
resetStreamPositionboolTells the API Client to reset the stream position to what it was after the file is sent.
descriptionstringDescription of the file.