This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://eaton-works.com/2023/11/14/telecom-camera-hack/ | |
using ServiceStack.Text; | |
namespace CameraStreamApp; | |
public sealed partial class MainForm : Form | |
{ | |
private readonly Dictionary<string, PictureBox> cameras = new(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://eaton-works.com/2023/01/09/how-microsoft-attempted-to-make-the-xbox-360-dashboard-load-faster/ | |
DbgPrint("[Benchmark] Benchmark begin.\n"); | |
//Use a 1 MB buffer. This results in the best performance for both devices. | |
DWORD readBufferSize = 1048576; | |
//FLASH symbolically linked to: \\Device\\Flash | |
HANDLE hFlash = CreateFile("FLASH:\\dash.xex", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); | |
//HDDSYSEXT symbolically linked to: \\Device\\Harddisk0\\SystemExtPartition | |
HANDLE hExt = CreateFile("HDDSYSEXT:\\20449700\\dash.xex", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); | |
if (hFlash == INVALID_HANDLE_VALUE || hExt == INVALID_HANDLE_VALUE) |