public XboxKernel(Xbox xbox)
{
Xbox = xbox;
if (xbox == null)
throw new NoConnectionException("Requires debug connection.");
xbox.ConnectionCheck();
try
{
InitializeKernelExports();
}
catch
{
SaveAsFile();
throw new ApiException("Failed to obtain kernel exports. The kernel has been saved to your computer for further examination.");
}
}