Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PeerCollaboration::GetLocalRegisteredApplications Method (PeerApplicationRegistrationType)

Gets a collection of all PeerApplication objects that are registered on the local machine for the specified PeerApplicationRegistrationType.

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

static PeerApplicationCollection^ GetLocalRegisteredApplications(
	PeerApplicationRegistrationType type

Return Value

Type: System.Net.PeerToPeer.Collaboration::PeerApplicationCollection
A PeerApplicationCollection that contains all applications of the specified type that are registered on the local machine. If an application is not found, a collection of size zero (0) is returned.


The type parameter is not set to a known value in the PeerApplicationRegistrationType enumeration.


An invalid value was returned when this method attempted to enumerate the application registered to this peer. Please make sure that all applications have valid registry values.

The caller is required to sign-in to the Peer Collaboration infrastructure via the SignIn method prior to the use of this method.

Access to this method requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft