2016-07-28 18:13:49 +01:00
|
|
|
|
// /***************************************************************************
|
|
|
|
|
|
// The Disc Image Chef
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
//
|
|
|
|
|
|
// Filename : ImageInfo.cs
|
|
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
|
//
|
|
|
|
|
|
// Component : Disc image plugins.
|
|
|
|
|
|
//
|
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
|
//
|
|
|
|
|
|
// Defines a common structure with information about a disk image.
|
|
|
|
|
|
//
|
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
|
//
|
|
|
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
|
//
|
|
|
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
|
|
//
|
|
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
//
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
// Copyright © 2011-2016 Natalia Portillo
|
|
|
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
2014-07-03 18:35:35 +01:00
|
|
|
|
using System.Collections.Generic;
|
2015-11-23 21:44:58 +00:00
|
|
|
|
using DiscImageChef.CommonTypes;
|
2014-07-03 18:35:35 +01:00
|
|
|
|
|
|
|
|
|
|
namespace DiscImageChef.ImagePlugins
|
|
|
|
|
|
{
|
|
|
|
|
|
public struct ImageInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool imageHasPartitions;
|
|
|
|
|
|
public bool imageHasSessions;
|
2016-07-28 22:25:26 +01:00
|
|
|
|
public ulong imageSize;
|
|
|
|
|
|
public ulong sectors;
|
|
|
|
|
|
public uint sectorSize;
|
2016-01-16 03:54:55 +00:00
|
|
|
|
public List<MediaTagType> readableMediaTags;
|
2014-07-03 18:35:35 +01:00
|
|
|
|
public List<SectorTagType> readableSectorTags;
|
|
|
|
|
|
public string imageVersion;
|
|
|
|
|
|
public string imageApplication;
|
|
|
|
|
|
public string imageApplicationVersion;
|
|
|
|
|
|
public string imageCreator;
|
|
|
|
|
|
public DateTime imageCreationTime;
|
|
|
|
|
|
public DateTime imageLastModificationTime;
|
|
|
|
|
|
public string imageName;
|
|
|
|
|
|
public string imageComments;
|
2016-01-16 03:54:55 +00:00
|
|
|
|
public string mediaManufacturer;
|
|
|
|
|
|
public string mediaModel;
|
|
|
|
|
|
public string mediaSerialNumber;
|
|
|
|
|
|
public string mediaBarcode;
|
|
|
|
|
|
public string mediaPartNumber;
|
|
|
|
|
|
public MediaType mediaType;
|
|
|
|
|
|
public int mediaSequence;
|
|
|
|
|
|
public int lastMediaSequence;
|
2014-07-03 18:35:35 +01:00
|
|
|
|
public string driveManufacturer;
|
|
|
|
|
|
public string driveModel;
|
|
|
|
|
|
public string driveSerialNumber;
|
2016-08-18 00:05:24 +01:00
|
|
|
|
public string driveFirmwareRevision;
|
2015-12-05 17:21:47 +00:00
|
|
|
|
public XmlMediaType xmlMediaType;
|
2014-07-03 18:35:35 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|