PeerCollaboration.ApplicationLaunchInfo Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the PeerApplicationLaunchInfo object that contains information needed when an application is started due to a collaboration request from a remote peer.

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

public static PeerApplicationLaunchInfo ApplicationLaunchInfo {

Property Value

Type: System.Net.PeerToPeer.Collaboration.PeerApplicationLaunchInfo

If the application was started due to an invitation, a PeerApplicationLaunchInfo object that contains both information about the peer that sent the application invitation and the invitation itself is returned; otherwise, null is returned. The default value for this property is null.

This property is to be used by a collaboration-aware PeerApplication instance after it is started to determine whether it was started due to a collaboration request from a remote peer. The calling application should inspect the Data and Message properties to get further information about the invitation request.

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

.NET Framework
Available since 3.5
Return to top