Gets body decoded data stream.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public Stream GetDataStream()
Public Function GetDataStream As Stream
public: Stream^ GetDataStream()
member GetDataStream : unit -> Stream
Return Value
Stream
Returns body decoded data stream.
Returns body decoded data stream.
Remarks
The returned stream should be closed/disposed as soon as it's not needed any more.
Exceptions
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