Exception thrown: 'System.Security.SecurityException
Created at 07 Feb 2020, 09:56
Exception thrown: 'System.Security.SecurityException
07 Feb 2020, 09:56
Hi!
This code generates an System.Security.SecurityException exception.
using (WebClient v_WwwClient = new WebClient())
{
try
{
v_sRawSentimentData = v_WwwClient.DownloadString("https://www.google.com/");
} catch (Exception ex)
{
Console.WriteLine(ex);
}
}
How to allow the indicator to read a remote file from URL?
Thanks!
Replies
koktos632
07 Feb 2020, 10:29
RE:
PanagiotisCharalampous said:
Hi koktos632,
Change your cBot access rights to FullAccess. See below
...
It works.
Thanks!
@koktos632
PanagiotisCharalampous
07 Feb 2020, 10:06
Hi koktos632,
Change your cBot access rights to FullAccess. See below
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous