It may be desirable to send partial data held on disk rather than from memory. This can be easily achieved by using the provided wrapper object StreamSendWrapper:

The receiving client  should handle the incoming data as  byte[]:

To see a worked example which uses StreamSendWrapper to send large files please see our file transfer application tutorial. If you have any further questions regarding the usage of StreamSendWrapper please post on our forums.