Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   1625

How to Add multithreading to a checker

by 3imadxDDD - 29 November, 2020 - 05:51 PM
This post is by a banned member (3imadxDDD) - Unhide
3imadxDDD  
Registered
69
Posts
1
Threads
5 Years of service
#1
(This post was last modified: 29 November, 2020 - 05:52 PM by 3imadxDDD.)
i have just create a basic checker and i want add multithreading . i used tasks but no boost performance the same cpm what should i use and how ? 
this is the part of code i want use threads on 
 
Code:
 
for (int i= backint-1; i < passwordlist.Count;i++)
            {
                if (!tokenSource.IsCancellationRequested)//basically if you didnt find password do dis . i add it to exit the for loop
                {
                    double nisba = (Convert.ToDouble(Attemps) / Convert.ToDouble(passwordlist.Count)) * 100;
                    Console.Write("\r{0:0.000}%", nisba);
                    Check(passwordlist[i], tokenSource);

                    Attemps++;

                    SaveAttemps(Attemps);
                }
This post is by a banned member (Angel) - Unhide
Angel  
Supreme
452
Posts
110
Threads
5 Years of service
#2
Dm me - Vexisz#1337
“No one cared who I was until I put on a mask.” – Obito Uchiha

[Image: 68747470733a2f2f73362e67696679752e636f6d...622e676966]
This post is by a banned member (hwhs) - Unhide
This post is by a banned member (Aqua69tic) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)