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); }
public ReceiveFile(DataPackage data) { FileRequestConvert frc = new FileRequestConvert(); rfr = frc.ConvertToData_Receive(data.Data); remoteClient = data.Client; }