Using WPF, how can I get the duration of a video in a .wmv fi开发者_开发问答le?
Retreiving the duration of a WMV in C#
If you are using MediaElement
you can use MediaElement.NaturalDuration
Property.
Using WPF, how can I get the duration of a video in a .wmv fi开发者_开发问答le?
Retreiving the duration of a WMV in C#
If you are using MediaElement
you can use MediaElement.NaturalDuration
Property.
精彩评论