internal MediaControlMetadata(IntPtr handle) { Debug.Assert(handle != IntPtr.Zero); Title = Native.GetMetadata(handle, MediaControllerAttribute.Title); Artist = Native.GetMetadata(handle, MediaControllerAttribute.Artist); Album = Native.GetMetadata(handle, MediaControllerAttribute.Album); Author = Native.GetMetadata(handle, MediaControllerAttribute.Author); Genre = Native.GetMetadata(handle, MediaControllerAttribute.Genre); Duration = Native.GetMetadata(handle, MediaControllerAttribute.Duration); Date = Native.GetMetadata(handle, MediaControllerAttribute.Date); Copyright = Native.GetMetadata(handle, MediaControllerAttribute.Copyright); Description = Native.GetMetadata(handle, MediaControllerAttribute.Description); TrackNumber = Native.GetMetadata(handle, MediaControllerAttribute.TrackNumber); AlbumArtPath = Native.GetMetadata(handle, MediaControllerAttribute.Picture); }