ContactManager::LocalContact Property

 

Gets the PeerContact representing the local peer.

Namespace:   System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)

public:
property PeerContact^ LocalContact {
	[SecurityCriticalAttribute]
	static PeerContact^ get();
}

Property Value

Type: System.Net.PeerToPeer.Collaboration::PeerContact^

The PeerContact instance representing the local peer.

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

Using this property requires a PermissionState of Unrestricted.

.NET Framework
Available since 3.5
Return to top
Show: