C# Class HandBrake.ApplicationServices.Utilities.GeneralUtilities

A Set of Static Utilites
Afficher le fichier Open project: golgol7777/HandBrakeWinSource

Méthodes publiques

Méthode Description
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

Method Details

ClearLogFiles() public static méthode

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

CreateCliLogHeader() public static méthode

Add the CLI Query to the Log File.
public static CreateCliLogHeader ( ) : StringBuilder
Résultat StringBuilder

GetCliProcess() public static méthode

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

GetDrives() public static méthode

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

LogLine() public static méthode

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