mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Clear serial numbers on device report.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user