C# 클래스 Business.MediaInfoReader

Provides access to media information that is only available by opening up the file.
상속: IDisposable
파일 보기 프로젝트 열기: mysteryx93/NaturalGroundingPlayer 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases resources allocated to Windows Media Player COM object.

HasDimensions ( Media item ) : bool
HasMissingInfo ( Media item ) : bool
LoadInfo ( string fileName ) : void

Loads media information of specified file.

LoadInfoAsync ( Media item ) : Task

Loads the Length, Width and Height of specified media file.

LoadInfoAsync ( string fileName ) : Task

Loads media information of specified file.

MediaInfoReader ( ) : System

Initializes a new instance of the MediaInfoReader class.

비공개 메소드들

메소드 설명
GetLength ( StreamKind stream ) : short?
ReadMediaFile ( string fileName ) : MediaInfo

메소드 상세

Dispose() 공개 메소드

Releases resources allocated to Windows Media Player COM object.
public Dispose ( ) : void
리턴 void

HasDimensions() 공개 정적인 메소드

public static HasDimensions ( Media item ) : bool
item Media
리턴 bool

HasMissingInfo() 공개 정적인 메소드

public static HasMissingInfo ( Media item ) : bool
item Media
리턴 bool

LoadInfo() 공개 메소드

Loads media information of specified file.
public LoadInfo ( string fileName ) : void
fileName string The full path of the file to read.
리턴 void

LoadInfoAsync() 공개 메소드

Loads the Length, Width and Height of specified media file.
public LoadInfoAsync ( Media item ) : Task
item Media The media file to read.
리턴 Task

LoadInfoAsync() 공개 메소드

Loads media information of specified file.
public LoadInfoAsync ( string fileName ) : Task
fileName string The full path of the file to read.
리턴 Task

MediaInfoReader() 공개 메소드

Initializes a new instance of the MediaInfoReader class.
public MediaInfoReader ( ) : System
리턴 System