2 writes to m_PeerNameRecord
System.Net (2)
net\PeerToPeer\PeerNameRegistration.cs (2)
643 m_PeerNameRecord = new PeerNameRecord(); 694m_PeerNameRecord = info.GetValue("_PeerNameRecord", typeof(PeerNameRecord)) as PeerNameRecord;
38 references to m_PeerNameRecord
System.Net (38)
net\PeerToPeer\PeerNameRegistration.cs (38)
112m_PeerNameRecord.PeerName = name; 130return m_PeerNameRecord; 156return m_PeerNameRecord.PeerName; 161m_PeerNameRecord.PeerName = value; 170return m_PeerNameRecord.EndPointCollection; 190return m_PeerNameRecord.Comment; 194m_PeerNameRecord.Comment = value; 201return m_PeerNameRecord.Data; 205m_PeerNameRecord.Data = value; 291if (m_PeerNameRecord.PeerName == null) 328m_PeerNameRecord.TracePeerNameRecord(); 336if (m_PeerNameRecord.Data != null) 338regInfo.payLoad.cbPayload = (UInt32)m_PeerNameRecord.Data.Length; 339handle = GCHandle.Alloc(m_PeerNameRecord.Data, GCHandleType.Pinned); 349if (m_PeerNameRecord.Comment != null && m_PeerNameRecord.Comment.Length > 0) 351regInfo.pwszComment = m_PeerNameRecord.Comment; 362if (m_PeerNameRecord.EndPointCollection.Count == 0) 376int result = UnsafeP2PNativeMethods.PeerPnrpRegister(m_PeerNameRecord.PeerName.ToString(), 389int numAddresses = m_PeerNameRecord.EndPointCollection.Count; 398for (int i = 0; i < m_PeerNameRecord.EndPointCollection.Count; i++) 400byte[] sockaddr = SystemNetHelpers.SOCKADDRFromIPEndPoint(m_PeerNameRecord.EndPointCollection[i]); 408int result = UnsafeP2PNativeMethods.PeerPnrpRegister(m_PeerNameRecord.PeerName.ToString(), 437m_RegisteredPeerName = m_PeerNameRecord.PeerName; 479if (m_PeerNameRecord.PeerName == null) 489if (!m_RegisteredPeerName.Equals(m_PeerNameRecord.PeerName)) 519m_PeerNameRecord.TracePeerNameRecord(); 526if (m_PeerNameRecord.Data != null) 528regInfo.payLoad.cbPayload = (UInt32)m_PeerNameRecord.Data.Length; 531GCHandle handle = GCHandle.Alloc(m_PeerNameRecord.Data, GCHandleType.Pinned); 538if (m_PeerNameRecord.Comment != null && m_PeerNameRecord.Comment.Length > 0) 540regInfo.pwszComment = m_PeerNameRecord.Comment; 551if (m_PeerNameRecord.EndPointCollection.Count == 0) 572int numAddresses = m_PeerNameRecord.EndPointCollection.Count; 581for (int i = 0; i < m_PeerNameRecord.EndPointCollection.Count; i++) 583byte[] sockaddr = SystemNetHelpers.SOCKADDRFromIPEndPoint(m_PeerNameRecord.EndPointCollection[i]); 720info.AddValue("_PeerNameRecord", m_PeerNameRecord);