Method DownloadStreamDirect
DownloadStreamDirect(String, String)
Download temporary file as stream
Declaration
Stream DownloadStreamDirect(string connectionId, string fileId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | fileId | The file id |
Returns
Type | Description |
---|---|
System.IO.Stream | Stream of the temporary file |
Examples
Example for download temporary file as stream.
GET http://YourServerName/InfoShare/Json/BlobStream/DownloadStreamDirect?connectionId=4134c72d-3843-1180-1010-50450254b5e7&fileId=4134c72d-939a-4f08-1041-58450254b5e7
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | File {0} not available (10143) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |