2 writes to cbPayload
System.Net (2)
net\PeerToPeer\PeerNameRegistration.cs (2)
338regInfo.payLoad.cbPayload = (UInt32)m_PeerNameRecord.Data.Length; 528regInfo.payLoad.cbPayload = (UInt32)m_PeerNameRecord.Data.Length;
6 references to cbPayload
System.Net (6)
net\PeerToPeer\PeerNameResolver.cs (6)
315if (pEndPointInfo->payLoad.cbPayload != 0) 317record.Data = new byte[pEndPointInfo->payLoad.cbPayload]; 318Marshal.Copy(pEndPointInfo->payLoad.pbPayload, record.Data, 0, (int)pEndPointInfo->payLoad.cbPayload); 682if (pEndPointInfo->payLoad.cbPayload != 0) 684record.Data = new byte[pEndPointInfo->payLoad.cbPayload]; 685Marshal.Copy(pEndPointInfo->payLoad.pbPayload, record.Data, 0, (int)pEndPointInfo->payLoad.cbPayload);