See https://stackoverflow.com/questions/68670051/set-webview2-source-directly-to-a-binary-stream for reference - Get ByteStream of PDF - Encode in Base64 - Set WebView2 Source to a string containing the Base64 encoded PDF in an iFrame