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