I have bind @ondrop event into my div element, while drag and drop local image into div, DragEventArgs doesn't return file object details.
Razor code
<div @ondrop="@OnDrop"></div>
@code{
internal void OnDrop(DragEventArgs args)
{
var files = args.DataTransfer.Files;
}
}
output:

Anyone have solution for this case?
Note: My main goal is to convert it as FileStream or MemoryStream then save it into specified location