- Регистрация
- 16.05.2012
- Сообщения
- 23
- Реакции
- 2
- Баллы
- 3
Work with CEF browser only, if I select chromium(Beta) it does't work. PDF files I wish to save it. How I use C# to download a file?
WebClient webClient = new WebClient();
webClient.DownloadFile(project.Variables["link_to_file"].Value, downloadPath);
Thanks for reply. I get the error log, do I need to install C# first before able to use it or Zennoposter have standalone library for C# code?
Compiling code of Error in action "CS0246" "The type or namespace name 'WebClient' could not be found (are you missing a using directive or an assembly reference?)". [Row: 1; Column: 1]
System.Net.WebClient webClient = new System.Net.WebClient();
webClient.DownloadFile(project.Variables["link_to_file"].Value, downloadPath);