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