可能重複:
How to simulate browser HTTP POST request and capture result in C#用C#發送POST請求就像網頁一樣嗎?
我在我的網頁下面的表格......
<input type="text" tabindex="1" id="username" name="username" size="30"/>
<input type="password" tabindex="2" id="password" name="password" size="30"/>
我使用這些登錄到我的網站。
但我想在我的應用程序中提供此功能。
如何使用HTTP Web請求將用戶和密碼發送到我的驗證頁面?
這是最好的答案,因爲我現在瞭解這個請求。非常感謝! – Vercas 2011-06-16 19:54:23