3 writes to Data
System.Net (3)
net\PeerToPeer\PeerNameRegistration.cs (1)
205m_PeerNameRecord.Data = value;
net\PeerToPeer\PeerNameResolver.cs (2)
317record.Data = new byte[pEndPointInfo->payLoad.cbPayload]; 684record.Data = new byte[pEndPointInfo->payLoad.cbPayload];
13 references to Data
System.Net (13)
net\PeerToPeer\PeerNameRecord.cs (4)
182if (Data != null) 186Logging.DumpData(Logging.P2PTraceSource, TraceEventType.Verbose, Logging.P2PTraceSource.MaxDataSize, Data, 0, Data.Length); 190Logging.P2PTraceSource.TraceEvent(TraceEventType.Information, 0, "\tCustom data length {0}", Data.Length);
net\PeerToPeer\PeerNameRegistration.cs (7)
201return m_PeerNameRecord.Data; 336if (m_PeerNameRecord.Data != null) 338regInfo.payLoad.cbPayload = (UInt32)m_PeerNameRecord.Data.Length; 339handle = GCHandle.Alloc(m_PeerNameRecord.Data, GCHandleType.Pinned); 526if (m_PeerNameRecord.Data != null) 528regInfo.payLoad.cbPayload = (UInt32)m_PeerNameRecord.Data.Length; 531GCHandle handle = GCHandle.Alloc(m_PeerNameRecord.Data, GCHandleType.Pinned);
net\PeerToPeer\PeerNameResolver.cs (2)
318Marshal.Copy(pEndPointInfo->payLoad.pbPayload, record.Data, 0, (int)pEndPointInfo->payLoad.cbPayload); 685Marshal.Copy(pEndPointInfo->payLoad.pbPayload, record.Data, 0, (int)pEndPointInfo->payLoad.cbPayload);