Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PeerCollaboration.GetLocalRegisteredApplications Method

Gets all PeerApplication objects that are registered on the local machine.

Namespace:  System.Net.PeerToPeer.Collaboration
Assembly:  System.Net (in System.Net.dll)
public static PeerApplicationCollection GetLocalRegisteredApplications()

Return Value

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

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 property requires a PermissionState of Unrestricted. This state is created when the Peer collaboration session begins.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.