Clear serial numbers on device report.

This commit is contained in:
2018-12-25 14:46:02 +00:00
parent 427209dc41
commit 6ff0b54a4d
2 changed files with 81 additions and 4 deletions

View File

@@ -632,5 +632,17 @@ namespace DiscImageChef.Core.Devices.Report
return capabilities;
}
static byte[] ClearIdentify(byte[] buffer)
{
byte[] empty = new byte[512];
Array.Copy(empty, 0, buffer, 20, 20);
Array.Copy(empty, 0, buffer, 216, 8);
Array.Copy(empty, 0, buffer, 224, 8);
Array.Copy(empty, 0, buffer, 352, 40);
return buffer;
}
}
}