Hey Experts,
im trying to make a simple proxy checker, where it checks if a proxy is alive or not...
im doing this in as follows
i dowload my Proxylist into a listview called ProxyList then i use a Method to check those proxies if alive or not one by one list this
my problem comes when i try to make this a multithreaded event,
i tried to use System.Threading, as a multithreading, but problem is how can i make each thread when calling the CheckingProxy method to use the Next Proxy in the listview
is there any role for using SyncLock in here
sorry if u find my question silly, but general guidance will be appreciated
im trying to make a simple proxy checker, where it checks if a proxy is alive or not...
im doing this in as follows
i dowload my Proxylist into a listview called ProxyList then i use a Method to check those proxies if alive or not one by one list this
Code:
Private Sub CheckingProxy()
For i as integer = 0 to ProxyList - 1
' here i got the code for checking proxies one by one (ProxyList.Items.Item(i))
Next i
End Sub
i tried to use System.Threading, as a multithreading, but problem is how can i make each thread when calling the CheckingProxy method to use the Next Proxy in the listview
is there any role for using SyncLock in here
sorry if u find my question silly, but general guidance will be appreciated