public static Uri GetBaseUri(this IMediaDataServiceContext mediaDataServiceContext)
        {
            var dataContext = mediaDataServiceContext.GetType()
                              .GetField("_dataContext", BindingFlags.Instance | BindingFlags.NonPublic)
                              .GetValue(mediaDataServiceContext) as DataServiceContext;

            return(dataContext.BaseUri);
        }