Leadtools.SharePoint.Client Namespace > SharePointClientDownloadData Class : Stream Property |
public Stream Stream {get;}
'Declaration Public ReadOnly Property Stream As Stream
'Usage Dim instance As SharePointClientDownloadData Dim value As Stream value = instance.Stream
public Stream Stream {get;}
get_Stream();
In most cases, the stream is an HTTP stream and the Stream.CanSeek value will be set to false. Hence, you should read the data from the stream in a forward direction only. Also, do not make any assumptions regarding the stream length as shown in the examples.
For an example, refer to SharePointClient.GetDownloadStream and SharePointClient.GetDownloadStreamAsync.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2