22 references to UnsafeP2PNativeMethods
System.Net (22)
net\PeerToPeer\Cloud.cs (2)
214UnsafeP2PNativeMethods.PnrpStartup(); 216result = UnsafeP2PNativeMethods.PeerPnrpGetCloudInfo(out numClouds, out ArrayOfCloudInfoStructures);
net\PeerToPeer\PeerName.cs (6)
159result = UnsafeP2PNativeMethods.PeerCreatePeerName((string)null, classifier, out shNewPeerName); 168result = UnsafeP2PNativeMethods.PeerIdentityGetDefault(out shDefaultIdentity); 176result = UnsafeP2PNativeMethods.PeerCreatePeerName(m_Authority, classifier, out shNewPeerName); 222result = UnsafeP2PNativeMethods.PeerHostNameToPeerName(peerHostName, out shPeerName); 298result = UnsafeP2PNativeMethods.PeerCreatePeerName(peerName.IsSecured? peerName.m_PeerName : null, classifier, out shNewPeerName); 400result = UnsafeP2PNativeMethods.PeerNameToPeerHostName( m_PeerName, out shPeerHostName);
net\PeerToPeer\PeerNameRegistration.cs (5)
320UnsafeP2PNativeMethods.PnrpStartup(); 376int result = UnsafeP2PNativeMethods.PeerPnrpRegister(m_PeerNameRecord.PeerName.ToString(), 408int result = UnsafeP2PNativeMethods.PeerPnrpRegister(m_PeerNameRecord.PeerName.ToString(), 560int result = UnsafeP2PNativeMethods.PeerPnrpUpdateRegistration(m_RegistrationHandle, ref regInfo); 591int result = UnsafeP2PNativeMethods.PeerPnrpUpdateRegistration(m_RegistrationHandle, ref regInfo);
net\PeerToPeer\PeerNameResolver.cs (5)
217Int32 result = UnsafeP2PNativeMethods.PeerPnrpStartResolve(m_PeerName.ToString(), 288result = UnsafeP2PNativeMethods.PeerPnrpGetEndpoint(m_SafePeerNameEndResolve.DangerousGetHandle(), out shEndPointInfo); 639UnsafeP2PNativeMethods.PnrpStartup(); 649int result = UnsafeP2PNativeMethods.PeerPnrpResolve(peerName.ToString(), 781UnsafeP2PNativeMethods.PnrpStartup();
net\PeerToPeer\UnsafePeerToPeerMethods.cs (4)
194UnsafeP2PNativeMethods.PeerFreeData(handle); 215UnsafeP2PNativeMethods.PeerPnrpUnregister(handle); 235UnsafeP2PNativeMethods.PeerPnrpEndResolve(handle); 268string dllFileName = Path.Combine(Environment.SystemDirectory, UnsafeP2PNativeMethods.P2P);