Upraviť

Zdieľať cez


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(); };
public static System.Net.PeerToPeer.Collaboration.PeerContact LocalContact { [System.Security.SecurityCritical] get; }
[<get: System.Security.SecurityCritical>]
static member LocalContact : System.Net.PeerToPeer.Collaboration.PeerContact
Public Shared ReadOnly Property LocalContact As PeerContact

Property Value

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