title: How can I send stream with a specific position through wcf?
body: <p>My problem is that when the client call a method on the server to get a stream with in a specific position, the stream come with a position = 0 every time.</p>
  
  <p>what can I do?</p>
  
  <p>Server method:</p>
  
  <pre><code>public Stream SearchTorrent(int TorrentID, int Position)
          {
              string FilePatch = ClientBusinessLogic.MyTorrents().Where((MyTorrent1) =&gt; MyTorrent1.TorrentID == TorrentID).ToList().First().Patch;
              Stream File = new FileStream(FilePatch, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
              File.Position = Position;
              return File;
          }
  </code></pre>
  
  <p>Client method:</p>
  
  <pre><code>Stream SeederFile = this.SeederInterface.SearchTorrent(TorrentID, Part.From);
  </code></pre>
  
  <p>Part.From value is not 0. 
  But the stream that returns come back with position vlaue 0.</p>