title: Get video duration without playing?
body: <p>I am using <code>MediaTimeline</code> and <code>MediaClock</code> to control the WMV video playback.</p>
  
  <pre><code>Timeline = new MediaTimeline(new Uri(VideoFileName));
  Clock = Timeline.CreateClock(true) as MediaClock;
  </code></pre>
  
  <p>When I look at the <code>Clock.NaturalDuration</code>, value is set to <code>Automatic</code> and does not
  contain duration <code>TimeSpan</code> yet.</p>
  
  <p>When I assign <code>Clock</code> to <code>MediaElement</code> and video starts playing, I can now see the <code>NaturalDuration.TimeSpan</code> is present and OK.</p>
  
  <p>Is there a way to get the video duration other than assigning clock to media element and playing?</p>
  
  <p>Is there a way to get duration even without usage of media element (this would be the best)?</p>