test.txt content,
Now I am trying to copy partial content of file (example, only 2nd line Hello1) and using below. fileStream.Seek
{
         Get().Wait();
    }
    private static HttpClient Client { get; } = new HttpClient();
    public static  async Task<HttpResponseMessage> Get()
    {
        using (var fileStream = new FileStream(@"C:\Files\test.txt", FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
        {
            fileStream.Seek(5, SeekOrigin.Current);
            var result = new HttpResponseMessage(HttpStatusCode.OK)
            {
                Content = new StreamContent(fileStream),
            };
            using (FileStream fs = new FileStream(@"C:\Files\test_Copy.txt", FileMode.CreateNew, FileAccess.Write))
            {
                var X = result.Content;
                await result.Content.CopyToAsync(fs);
            }
            return result;
        }
    }
The above code copy only partial content (Hello1), but I am also seeing a line above it.
I would like the copy file (text_copy.txt) should start with line 1. How to do it? Thanks!

