mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
DOCUMENTATION: Added XML documentation to DiscImageChef.Core.
This commit is contained in:
@@ -37,6 +37,17 @@ namespace DiscImageChef.CommonTypes
|
||||
#pragma warning disable RECS0063 // Warns when a culture-aware 'StartsWith' call is used by default.
|
||||
public static class MediaTypeFromScsi
|
||||
{
|
||||
/// <summary>
|
||||
/// Tries to guess, from SCSI information, the media type of a device and/or its inserted media
|
||||
/// </summary>
|
||||
/// <param name="scsiPeripheralType">The SCSI Peripheral Type as indicated in the INQUIRY response</param>
|
||||
/// <param name="vendor">The vendor string of the device</param>
|
||||
/// <param name="model">The model string of the device</param>
|
||||
/// <param name="mediumType">The medium type byte from MODE SENSE</param>
|
||||
/// <param name="densityCode">The density type byte from MODE SENSE</param>
|
||||
/// <param name="blocks">How many blocks are on the media</param>
|
||||
/// <param name="blockSize">Size in bytes of each block</param>
|
||||
/// <returns></returns>
|
||||
public static MediaType Get(byte scsiPeripheralType, string vendor, string model, byte mediumType,
|
||||
byte densityCode, ulong blocks, uint blockSize)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user