예제 #1
0
 public void DocFile(NetworkStream clientStream)
 {
     Entities.LogFile[] lf = new BizLogic.LogFile().DocFile();
     formatter.Serialize(clientStream, lf);
 }
예제 #2
0
 public void XoaFile(NetworkStream clientStream)
 {
     Entities.LogFile lf = (Entities.LogFile)formatter.Deserialize(clientStream);
     // kiểm tra hành động được gửi đến
     bool tk = new BizLogic.LogFile().XoaFileLog(lf);
     formatter.Serialize(clientStream, tk);
 }