ContactManager.LocalContact ContactManager.LocalContact ContactManager.LocalContact ContactManager.LocalContact Property

定義

取得代表本機對等電腦的 PeerContactGets 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; }
member this.LocalContact : System.Net.PeerToPeer.Collaboration.PeerContact
Public Shared ReadOnly Property LocalContact As PeerContact

屬性值

PeerContact 執行個體,代表本機對等電腦。The PeerContact instance representing the local peer.

備註

除非有指定,否則這個屬性的預設值為 nullUnless specified, the default value for this property is null.

使用這個屬性需要PermissionState的。 UnrestrictedUsing this property requires a PermissionState of Unrestricted.

適用於

另請參閱