That message comes from Apple's new notarization requirements.
For a quick workaround, please try the following: go to Applications in Finder, right click the Network Scanner app icon, then choose Open menu item in the pop-up menu. In the new window press the Open button.