Class StreamResult

StreamResult class

Represents operation result in the form of Stream.

public sealed class StreamResult : IOperationResult

Properties

NameDescription
Data { get; }Gets raw data.
IsByteArray { get; }Indicates whether the result is a byte array.
IsFile { get; }Indicates whether the result is a path to an output file.
IsStream { get; }Indicates whether the result is a path to an output file.
IsString { get; }Indicates whether the result is a string.

Methods

NameDescription
ToFile()Tries to convert the result to a file.
ToStream()Tries to convert the result to a stream object.

See Also