Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

[need C# help] How can i load info from a text file and use the info?

like lets say i need to load a username list and then exucute commands

list architecture

Username1:password1
Username2:password2
Username3:password3

how can i do this

load list.txt
read U/P line1
login with U/P
another action
logout
read U/P line2
login with U/P
another action
logout
read U/P line3
login with U/P
another action
logout


and how can i make the action list dynamic, such as if it only find 2 u/p it dose the actions twice (once for each account) and if there is 100 u/p it dose the command 100 times (once for each account)
Borderline master Web/PHP Developer
Greatly Skilled C++ Developer
With a minor in design


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by H4x10rJul 24, 2020 02:01 AM 8 269 Jul 24, 2020 02:01 AM
Last Post: Xora
[C] by pebblakOct 15, 2019 05:24 AM 6 307 Oct 15, 2019 05:24 AM
Last Post: Joseph Ducreux
[Python] by streetlawkarmaJun 27, 2017 10:24 PM 4 186 Jun 27, 2017 10:24 PM
Last Post: streetlawkarma