streaming - WCF Stream- changing position -
my client gets client stream client need read middle of stream.
in wcf, stream get, cannot converted filestream if other client created stream @ start filestream before gave stream client.
thats why client cant that:
stream1.read(buffer, middle_of_stream, buffer.length) any solutions appreciated!
*streaming mode = streaming.
the stream on client cannot converted file stream because it's bound network stream used transfer. filestream in server cannot (and should not, many reasons, security being 1 of them) accessed client, wcf read file stream, , copies bytes network stream. on client readonly (and non-seekable) stream.
if want convert file stream @ client side, can create new file (possibly on temp directory), save stream @ proxy call it.
Comments
Post a Comment