Software components for data protection, secure storage and transfer
public void Read(byte ReadBuf, long Position, int BytesToRead, ref int BytesRead)
if (binaryReader == null)
// First call : we call remote service and get stream
WebResponse webResponse = FlowUtils.getFileContent(mpc.Token, mpc.Url, file.Uri);
Stream currentStream = webResponse.GetResponseStream();
binaryReader = new BinaryReader(currentStream);
byte tmpReadBuf = binaryReader.ReadBytes(BytesToRead);
Array.Copy(tmpReadBuf, ReadBuf, tmpReadBuf.Length);
BytesRead = tmpReadBuf.Length;
catch (Exception e)
Number of guests: 2, registered members: 0,
in total hidden: 0
Copyright (c) 2017, /n software, Inc.
As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.