Interacts with the Peer Collaboration infrastructure. Many of the core collaboration scenarios begin with this class.
Assembly: System.Net (in System.Net.dll)
This class is a static class – it is sealed, abstract and does not have a public constructor. It is used to contain and manage application, object, and presence information for peers that have accepted invitations to a collaboration session. In terms of peers, objects, and applications, the PeerCollaboration class provides three accessors, one for each collection, as an interface or point of connectivity for whatever else is happening on the machine. This class cannot be inherited; a compile-time error will occur if this sealed class is specified as the base class.
Methods and properties in this class can be used to:
Launch and manage collaborative applications
Register and delete applications and collaboration objects (such as certificates, pictures, avatars, and text descriptions)
Invite peers to collaboration sessions, including items such as scope and objects which will identify them over the Internet
Utilize SynchronizingObject properties and events to coordinate asynchronous application communication, especially for changes in name, presence, application, or other objects.
"Link-local cloud", "subnet of the calling peer", and "NearMe scope" are synonymous terms. "Internet scope" and "serverless presence" are synonymous. The site-local PnrpScope has no equivalent in the collaboration namespace.
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.