promotion image of download ymail app
Promoted

How can i go about reading a file and getting a value based on an imput.?

I am wanting to (in c#) go out to a site that has 2 lines on it. example below..

If i was to click 1 button it would grab the falue from line 1 and if i chose the other button it could grab the value from line 2.

Example:

Live: <IP:port>

Dev: <IP:port>

Update:

And as in get the value i want it to get the ip and port

There are no answers yet.
Be the first to answer this question.