예제 #1
0
        public SendUserImage(DataPackage dataPackTemp)
        {
            dataPack = dataPackTemp;
            Buffer.BlockCopy(dataPackTemp.Data, 2, bPackBegin, 0, 4);

            FileCheck fileCheck = new FileCheck();
            FileRequestConvert fileRc = new FileRequestConvert();
            FileRequest fr = fileRc.ConvertToClass_Send(dataPackTemp.Data);
            path = fileCheck.SelUserImage(fr.User_id);
        }
예제 #2
0
 public ReceiveFile(DataPackage data)
 {
     FileRequestConvert frc = new FileRequestConvert();
     rfr = frc.ConvertToData_Receive(data.Data);
     remoteClient = data.Client;
 }