ContactManager.GetContact(PeerName) ContactManager.GetContact(PeerName) ContactManager.GetContact(PeerName) Method

Definition

Returns the PeerContact object for the specified PeerName.

public:
 System::Net::PeerToPeer::Collaboration::PeerContact ^ GetContact(System::Net::PeerToPeer::PeerName ^ peerName);
[System.Security.SecurityCritical]
public System.Net.PeerToPeer.Collaboration.PeerContact GetContact (System.Net.PeerToPeer.PeerName peerName);
member this.GetContact : System.Net.PeerToPeer.PeerName -> System.Net.PeerToPeer.Collaboration.PeerContact

Parameters

peerName
PeerName PeerName PeerName

The PeerName associated with the PeerContact to be retrieved.

Returns

PeerContact associated with the supplied PeerName.

Exceptions

Remarks

Calling this method requires a PermissionState of Unrestricted.

Applies to

See also