Compartir a través de


CoreWebView2ProcessFailedEventArgs.FailureSourceModulePath Property

Definition

This property is the full path of the module that caused the crash in cases of Windows Code Integrity failures. Windows Code Integrity is a feature that verifies the integrity and authenticity of dynamic-link libraries (DLLs) on Windows systems. It ensures that only trusted code can run on the system and prevents unauthorized or malicious modifications. When ProcessFailed occurred due to a failed Code Integrity check, this property returns the full path of the file that was prevented from loading on the system. The webview2 process which tried to load the DLL will fail with exit code STATUS_INVALID_IMAGE_HASH(-1073740760). A file can fail integrity check for various reasons, such as: - It has an invalid or missing signature that does not match the publisher or signer of the file. - It has been tampered with or corrupted by malware or other software. - It has been blocked by an administrator or a security policy. This property always will be the empty string if failure is not caused by STATUS_INVALID_IMAGE_HASH.

public string FailureSourceModulePath { get; }
member this.FailureSourceModulePath : string
Public ReadOnly Property FailureSourceModulePath As String

Property Value

Applies to