Share via


MiracastReceiverMediaSourceCreatedEventArgs.Connection Property

Definition

Returns the MiracastReceiverConnection object of the associated connection.

public:
 property MiracastReceiverConnection ^ Connection { MiracastReceiverConnection ^ get(); };
MiracastReceiverConnection Connection();
public MiracastReceiverConnection Connection { get; }
var miracastReceiverConnection = miracastReceiverMediaSourceCreatedEventArgs.connection;
Public ReadOnly Property Connection As MiracastReceiverConnection

Property Value

The MiracastReceiverConnection object.

Remarks

Since a MiracastReceiverSession can operate on multiple connections, use the Connection property to determine which connection the event refers to.

Applies to

See also