Sub hc_ResponseSuccess (Response As HttpResponse, TaskId As Int)
ProgressDialogHide
Try
If File.Exists(File.DirRootExternal,"html.txt") = False Then
File.WriteString(File.DirRootExternal, "html.txt", "Numeber WinForLife by Ivano Monti")
End If
If Response <> Null Then
Response.GetAsynchronously("filtra",File.OpenOutput(File.DirRootExternal, "html.txt", False) , True, TaskId)
Else
ToastMessageShow ("Risposta dal server vuota", True)
End If
Catch
ToastMessageShow ("Errore non gestito.", True)
End Try
End Sub