private void spoofRandomIDToolStripMenuItem_Click(object sender, EventArgs e) { byte[] Original_File = File.ReadAllBytes(Path.Combine(Current_Folder, listView1.SelectedItems[0].Text.Trim())); byte[] UID = Amiibo_Class.Generate_Random_UID(); Array.Copy(UID, 0x000, Original_File, 0x000, UID.Length); File.WriteAllBytes(Path.ChangeExtension(Path.Combine(Current_Folder, listView1.SelectedItems[0].Text.Trim()), ".spoof.bin"), Original_File); MessageBox.Show(i18n.__("Message_Spoofed_Bin"), this.Text, MessageBoxButtons.OK, MessageBoxIcon.Information); }