Курсовая работа: Разработка программы "Формирование и проверка контрольной суммы кластеров"
); }
else
{
richTextBox2.Clear();
richTextBox2.Text = ("\n" +
"Model:\n" +
"--------------------------------------------------------\n" +
"Model : " + Hd.Model.ToString() + "\n" +
"Type : " + Hd.Type.ToString() + "\n" +
"Serial No. : " + Hd.SerialNo.ToString() + "\n" +
"Firmware Revision : " + Hd.FirmwareRevision.ToString() + "\n" +
"\n" +
"Characteristics:\n" +
"--------------------------------------------------------\n" +
"Media Type : " + Hd.MediaType.ToString() + "\n" +
"Partitions : " + Hd.Partitions.ToString() + "\n" +
"Signature : " + Hd.Signature.ToString() + "\n" +
"Size : " + Hd.Size.ToString() + " Byte (" + Math.Round((((size_temp / 1024) / 1024) / 1024), 2) + " GB)" + "\n" +
"\n" +
"Status : " + Hd.Status.ToString() + "\n" +
"\n" +
"Tracks:\n" +
"--------------------------------------------------------\n" +
"Total Cylinders : " + Hd.TotalCylinders.ToString() + "\n" +
"Total Heads : " + Hd.TotalHeads.ToString() + "\n" +
"Total Sectors : " + Hd.TotalSectors.ToString() + "\n" +
"Total Tracks : " + Hd.TotalTracks.ToString() + "\n" +
"Bytes Pr. Sector : " + Hd.BytesPerSector.ToString() + "\n" +
"Sector Pr. Tracks : " + Hd.SectorsPerTrack.ToString() + "\n" +