ContactManager.LocalContact Property

Definition

Gets the PeerContact representing the local peer.

public:
 static property System::Net::PeerToPeer::Collaboration::PeerContact ^ LocalContact { System::Net::PeerToPeer::Collaboration::PeerContact ^ get(); };
[get: System.Security.SecurityCritical]
public static System.Net.PeerToPeer.Collaboration.PeerContact LocalContact { get; }
[<get: System.Security.SecurityCritical>]
member this.LocalContact : System.Net.PeerToPeer.Collaboration.PeerContact
Public Shared ReadOnly Property LocalContact As PeerContact

Property Value

PeerContact

The PeerContact instance representing the local peer.

Attributes

Remarks

Unless specified, the default value for this property is null.

Using this property requires a PermissionState of Unrestricted.

Applies to

See also