Simple as that.
i want to save the ip on a session id, or. when he click on a button it will do like that:
using (StreamWriter writer = new StreamWriter(fileStream))
{
writer.WriteLine(TextBox1.Text);
}
(its not all the code ofc)
when he click on a button, it will wirte the ip into the file. 🙂
any way to do so?
Use:
or
Also, you might first want to check if he’s behind a proxy:
And I would agree to @Barry’s post about this not being a perfect solution.