I am trying to get a url of a dragged item on winforms. It's not capturing.
The following code works for local applications dragging from local drive it captures location. But dragging from browser its preventing.
Example I have a browser url http://example.com/image.jpg
When I tried to drag and drop unable to capture the link location of the file.
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop,false);
if(files != null && files.Length!=0)
{
wp_fetch_url.Text = files[0];
}