Ejemplo n.º 1
0
        public System.IO.Stream OpenWrite(string path)
        {
            System.IO.Stream fs = System.IO.File.Open(path, System.IO.FileMode.Create, System.IO.FileAccess.Write);
            FakeRemoteWrite  fw = new FakeRemoteWrite();

            fw.lockedStream = fs;
            return(fs);
        }
Ejemplo n.º 2
0
 public System.IO.Stream OpenWrite(string path)
 {
     System.IO.Stream fs = System.IO.File.Open(path, System.IO.FileMode.Create, System.IO.FileAccess.Write);
     FakeRemoteWrite fw = new FakeRemoteWrite();
     fw.lockedStream = fs;
     return fs;
 }