summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs33
1 files changed, 0 insertions, 33 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs b/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs
index 7a790f7f9..d74a8f72a 100644
--- a/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs
+++ b/win/CS/HandBrake.ApplicationServices/Utilities/GeneralUtilities.cs
@@ -17,8 +17,6 @@ namespace HandBrake.ApplicationServices.Utilities
using System.Text;
using System.Windows.Forms;
- using HandBrake.ApplicationServices.Model;
-
/// <summary>
/// A Set of Static Utilites
/// </summary>
@@ -144,37 +142,6 @@ namespace HandBrake.ApplicationServices.Utilities
}
/// <summary>
- /// Get a list of available DVD drives which are ready and contain DVD content.
- /// </summary>
- /// <returns>A List of Drives with their details</returns>
- public static List<DriveInformation> GetDrives()
- {
- var drives = new List<DriveInformation>();
- DriveInfo[] theCollectionOfDrives = DriveInfo.GetDrives();
- int id = 0;
- foreach (DriveInfo curDrive in theCollectionOfDrives)
- {
- if (curDrive.DriveType == DriveType.CDRom && curDrive.IsReady)
- {
- if (Directory.Exists(curDrive.RootDirectory + "VIDEO_TS") ||
- Directory.Exists(curDrive.RootDirectory + "BDMV"))
- {
- drives.Add(
- new DriveInformation
- {
- Id = id,
- VolumeLabel = curDrive.VolumeLabel,
- RootDirectory = curDrive.RootDirectory.ToString()
- });
- id++;
- }
- }
- }
-
- return drives;
- }
-
- /// <summary>
/// Return the standard log format line of text for a given log message
/// </summary>
/// <param name="message">