Gets body decoded data stream.

C# | Visual Basic | Visual C++ | F# |
public Stream GetDataStream()
Public Function GetDataStream As Stream
public: Stream^ GetDataStream()
member GetDataStream : unit -> Stream

Stream
Returns body decoded data stream.
Returns body decoded data stream.

The returned stream should be closed/disposed as soon as it's not needed any more.

Exception | Condition |
---|---|
InvalidOperationException | Is raised when this method is accessed and this body is not bounded to any entity. |
NotSupportedException | Is raised when body contains not supported Content-Transfer-Encoding. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119