C# 클래스 HandBrake.ApplicationServices.Utilities.GeneralUtilities

A Set of Static Utilites
파일 보기 프로젝트 열기: golgol7777/HandBrakeWinSource

공개 메소드들

메소드 설명
ClearLogFiles ( int daysToKeep ) : void

Clear all the log files older than 30 Days

CreateCliLogHeader ( ) : StringBuilder

Add the CLI Query to the Log File.

GetCliProcess ( ) : System.Diagnostics.Process[]

Get the Process ID of HandBrakeCLI for the current instance.

GetDrives ( ) : List

Get a list of available DVD drives which are ready and contain DVD content.

LogLine ( string message ) : string

Return the standard log format line of text for a given log message

메소드 상세

ClearLogFiles() 공개 정적인 메소드

Clear all the log files older than 30 Days
public static ClearLogFiles ( int daysToKeep ) : void
daysToKeep int /// The Number of Days to Keep ///
리턴 void

CreateCliLogHeader() 공개 정적인 메소드

Add the CLI Query to the Log File.
public static CreateCliLogHeader ( ) : StringBuilder
리턴 StringBuilder

GetCliProcess() 공개 정적인 메소드

Get the Process ID of HandBrakeCLI for the current instance.
public static GetCliProcess ( ) : System.Diagnostics.Process[]
리턴 System.Diagnostics.Process[]

GetDrives() 공개 정적인 메소드

Get a list of available DVD drives which are ready and contain DVD content.
public static GetDrives ( ) : List
리턴 List

LogLine() 공개 정적인 메소드

Return the standard log format line of text for a given log message
public static LogLine ( string message ) : string
message string The Log Message
리턴 string