Represents the media content that can be sent to another device.
public : sealed class CastingSource
public sealed class CastingSource
Public NotInheritable Class CastingSource
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
Windows.Foundation.UniversalApiContract (introduced v1)
You can obtain this object from a MediaPlayer, Image, or HTML Tag by calling the respective GetAsCastingSource method. In the current release, apps should use MediaPlayer and MediaPlayerElement for media playback, but the legacy MediaElement control also provides a GetAsCastingSource method.
|PreferredSourceUri PreferredSourceUri PreferredSourceUri PreferredSourceUri PreferredSourceUri||
Gets or sets an alternative URI for the content for use with DLNA ByRef.