Enum CoreWebView2DownloadInterruptReason
The reason why the CoreWebView2DownloadOperation was interrupted.
public enum CoreWebView2DownloadInterruptReason
  Fields
DownloadProcessCrashed = 29WebView crashed.
FileAccessDenied = 2Access denied due to security restrictions.
FileBlockedByPolicy = 8File blocked by local policy.
FileFailed = 1Generic file error.
FileHashMismatch = 11Partial file did not match the expected hash and was deleted. Download will be restarted automatically.
FileMalicious = 6Microsoft Defender Smartscreen detected a virus in the file.
FileNameTooLong = 4Result file path with file name is too long.
FileNoSpace = 3Disk full. User should free some space or choose a different location to store the file.
FileSecurityCheckFailed = 9Security check failed unexpectedly. Microsoft Defender SmartScreen could not scan this file.
FileTooLarge = 5File is too large for file system.
FileTooShort = 10Seeking past the end of a file in opening a file, as part of resuming an interrupted download. The file did not exist or was not as large as expected. Partially downloaded file was truncated or deleted, and download will be restarted automatically.
FileTransientError = 7File was in use, too many files opened, or out of memory.
NetworkDisconnected = 14Network connection lost. User can retry the download manually.
NetworkFailed = 12Generic network error. User can retry the download manually.
NetworkInvalidRequest = 16Network request invalid because original or redirected URI is invalid, has an unsupported scheme, or is disallowed by network policy.
NetworkServerDown = 15Server has gone down. User can retry the download manually.
NetworkTimeout = 13Network operation timed out.
None = 0No interrupt reason.
ServerBadContent = 19Server does not have the requested data.
ServerCertificateProblem = 21Server certificate problem.
ServerContentLengthMismatch = 24Server sent fewer bytes than the Content-Length header. Content-Length header may be invalid or connection may have closed. Download is treated as complete unless there are strong validators present to interrupt the download.
ServerCrossOriginRedirect = 25Unexpected cross-origin redirect.
ServerFailed = 17Generic server error. User can retry the download manually.
ServerForbidden = 22Server access forbidden.
ServerNoRange = 18Server does not support range requests.
Server did not authorize access to resource.
ServerUnexpectedResponse = 23Unexpected server response. Responding server may not be intended server. User can retry the download manually.
UserCanceled = 26User canceled the download.
UserPaused = 28User paused the download.
UserShutdown = 27User shut down the WebView. Resuming downloads that were interrupted during shutdown is not yet supported.