How to use cookies in C#?
I've got a problem, and I don't know if it's possible to solve, but i think it should be. Im working in Microsoft Visual C#, using a Windows Forms Application.

I don't know too much about websites. If a website stores a cookie on my computer, it will use that cookie to see if i'm logged in and with what account, right? So if I delete the cookies it will log me out. Or if I would add a certian cookie, the site will think I logged in. Am I right on this one? 

So, for example, would it be possible to let my application store the cookie in a text file or something when I log in once, and then let it log in automaticly using that cookie?

And how would I do that?

Thank you in advance, it really is hard to find on google.
How to use cookies in C#?
===

I've got a problem, and I don't know if it's possible to solve, but i think it should be. Im working in Microsoft Visual C#, using a Windows Forms Application.

I don't know too much about websites. If a website stores a cookie on my computer, it will use that cookie to see if i'm logged in and with what account, right? So if I delete the cookies it will log me out. Or if I would add a certian cookie, the site will think I logged in. Am I right on this one? 

So, for example, would it be possible to let my application store the cookie in a text file or something when I log in once, and then let it log in automaticly using that cookie?

And how would I do that?

Thank you in advance, it really is hard to find on google.