but in the same time... looks like this feature was deleted, as sample of code:
- Code: Select all
using System.Collections.Generic;
using System.IO;
namespace CefSharp.Example
{
public class TempFileDialogHandler : IDialogHandler
{
public bool OnFileDialog(IWebBrowser browser, string title, string defaultFileName, List<string> acceptTypes, out List<string> result)
{
result = new List<string> { Path.GetRandomFileName() };
return true;
}
}
}
doesn't work anymore... =(
How can I Upload file without shown OpenFileDialog?