protected override void _Partir(string fichero, string sal1, string dir, long kb) { JoinInfo info = new JoinInfo (); info.InitialFragment = 1; info.Digits = 3; info.OriginalFile = new FileInfo (fichero).Name; info.BaseName = info.OriginalFile; info.Directory = new DirectoryInfo (dir); // TODO Rewrite to use new generic int fragmentos = new ParteGenerico().Partir (fichero, sal1, dir, kb, info); MXSInfo mxsinfo = new MXSInfo (); mxsinfo.NombreOriginal = info.OriginalFile; mxsinfo.TamanoOriginal = new FileInfo (fichero).Length; mxsinfo.Fragmentos = fragmentos; Stream fos = UtilidadesFicheros.CreateWriter(dir+Path.DirectorySeparatorChar+fichero+".mxs"); byte[] mxs = mxsinfo.ToByteArray(); fos.Write(mxs, 0, mxs.Length); fos.Close(); }