mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
24 lines
512 B
C#
24 lines
512 B
C#
namespace CefSharp.Example
|
|
{
|
|
internal class DownloadHandler : IDownloadHandler
|
|
{
|
|
bool IDownloadHandler.OnBeforeDownload(string suggestedName, out string downloadPath, out bool showDialog)
|
|
{
|
|
downloadPath = suggestedName;
|
|
showDialog = true;
|
|
|
|
return true;
|
|
}
|
|
|
|
bool IDownloadHandler.ReceivedData(byte[] data)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void IDownloadHandler.Complete()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|