diff --git a/DiscImageChef.CommonTypes.csproj b/DiscImageChef.CommonTypes.csproj index 4464c72..27f2d20 100644 --- a/DiscImageChef.CommonTypes.csproj +++ b/DiscImageChef.CommonTypes.csproj @@ -95,7 +95,7 @@ - + diff --git a/MediaTypeFromSCSI.cs b/MediaTypeFromDevice.cs similarity index 99% rename from MediaTypeFromSCSI.cs rename to MediaTypeFromDevice.cs index 59b96bd..3f816d4 100644 --- a/MediaTypeFromSCSI.cs +++ b/MediaTypeFromDevice.cs @@ -41,7 +41,7 @@ using System; namespace DiscImageChef.CommonTypes { #pragma warning disable RECS0063 // Warns when a culture-aware 'StartsWith' call is used by default. - public static class MediaTypeFromScsi + public static class MediaTypeFromDevice { /// Tries to guess, from SCSI information, the media type of a device and/or its inserted media /// The SCSI Peripheral Type as indicated in the INQUIRY response @@ -52,8 +52,8 @@ namespace DiscImageChef.CommonTypes /// How many blocks are on the media /// Size in bytes of each block /// - public static MediaType Get(byte scsiPeripheralType, string vendor, string model, byte mediumType, - byte densityCode, ulong blocks, uint blockSize) + public static MediaType GetFromScsi(byte scsiPeripheralType, string vendor, string model, byte mediumType, + byte densityCode, ulong blocks, uint blockSize) { switch(scsiPeripheralType) {