PeerCollaboration.ApplicationLaunchInfo Property

Definition

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

C#
public static System.Net.PeerToPeer.Collaboration.PeerApplicationLaunchInfo ApplicationLaunchInfo { [System.Security.SecurityCritical] get; }

Property Value

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.

Attributes

Remarks

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.

Applies to

Produkt Versjoner
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also