The two nations agreed during a trip to Washington last year by China’s President Xi Jinping not to knowingly carry out hacking for commercial advantage . Photo: SCMP Pictures