public static ISPIFlasher GetJrunnerFlasher() { if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338)) { return(new ARMFlasher(0x11D4, 0x8338)); } throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound); }
public static IXSVFFlasher GetXSVFFlasher(int vendorID, int productID) { if (NativeWin32.IsDeviceConnected(vendorID, productID)) { return(new ARMXSVFFlasher(vendorID, productID)); } throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound); }
public static ISPIFlasher GetNandProFlasher() { if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4)) { return(new ARMFlasher(0xFFFF, 0x4)); } throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound); }
public static IXSVFFlasher GetXSVFFlasher(int vendorID, int productID) { if (NativeWin32.IsDeviceConnected(vendorID, productID)) { return(new ARMXSVFFlasher(vendorID, productID)); } throw new DeviceError(DeviceError.ErrorLevels.NoDeviceFound); }
public static ISPIFlasher GetSPIFlasher() { if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4)) { return(new ARMFlasher(0xFFFF, 0x4)); } if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338)) { return(new ARMFlasher(0x11D4, 0x8338)); } throw new DeviceError(DeviceError.ErrorLevels.NoDeviceFound); }
public static IXSVFFlasher GetXSVFFlasher() { if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338)) // Try JRP First... { return(new JRPXSVFFlasher(0x11D4, 0x8338)); } if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4)) { var flasher = new ARMXSVFFlasher(0xFFFF, 0x4); if (!flasher.IsCompatibleVersion()) { throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.IncompatibleDevice); } return(flasher); } throw new X360NANDManagerException(X360NANDManagerException.ErrorLevels.NoDeviceFound); }
public static IXSVFFlasher GetXSVFFlasher() { if (NativeWin32.IsDeviceConnected(0xFFFF, 0x4)) { var flasher = new ARMXSVFFlasher(0xFFFF, 0x4); if (!flasher.IsCompatibleVersion()) { throw new DeviceError(DeviceError.ErrorLevels.IncompatibleDevice); } return(flasher); } if (NativeWin32.IsDeviceConnected(0x11D4, 0x8338)) { return(new JRPXSVFFlasher(0x11D4, 0x8338)); } throw new DeviceError(DeviceError.ErrorLevels.NoDeviceFound); }