public static void CreateAndAppendStream(string Path, Stream InputStream)
{
if (!_AppendStreams.Contains(Path))
{
try { File.Delete(Path); } catch { }
_AppendStreams.Add(Path);
}
using (var OutputStream = File.OpenWrite(Path))
{
OutputStream.Position = OutputStream.Length;
InputStream.Slice().CopyToFast(OutputStream);
}
//throw new NotImplementedException();
}
}