Click here to Skip to main content
15,868,141 members
Home / Discussions / C#
   

C#

 
GeneralRe: FTP vs SCP Pin
Eddy Vluggen10-Feb-16 10:41
professionalEddy Vluggen10-Feb-16 10:41 
QuestionBeginner on TCP Server/Client Implementation Pin
Member 1018338210-Feb-16 6:18
Member 1018338210-Feb-16 6:18 
QuestionProgrammatically login to website that uses 2 steps. Pin
Dralken10-Feb-16 2:18
Dralken10-Feb-16 2:18 
AnswerRe: Programmatically login to website that uses 2 steps. Pin
OriginalGriff10-Feb-16 4:14
mveOriginalGriff10-Feb-16 4:14 
GeneralRe: Programmatically login to website that uses 2 steps. Pin
Dralken10-Feb-16 4:30
Dralken10-Feb-16 4:30 
GeneralRe: Programmatically login to website that uses 2 steps. Pin
Luc Pattyn11-Feb-16 0:29
sitebuilderLuc Pattyn11-Feb-16 0:29 
GeneralRe: Programmatically login to website that uses 2 steps. Pin
OriginalGriff11-Feb-16 0:35
mveOriginalGriff11-Feb-16 0:35 
SuggestionRe: Programmatically login to website that uses 2 steps. Pin
Richard Deeming10-Feb-16 4:16
mveRichard Deeming10-Feb-16 4:16 
Rather than copying the cookie headers around manually, just create a new instance of the CookieContainer class[^] at the start, and assign it to the CookieContainer property[^] of each HttpWebRequest object.

If your bank is doing their job properly, there should be an anti-CRSF[^] token in the form, which you will need to scrape from each response and post to the next request.

You might also need to set the Referer property on the second and third request.

If you still can't make it work, try using Fiddler[^] to capture the requests from the browser and from your code to see what the difference is.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


AnswerRe: Programmatically login to website that uses 2 steps. Pin
V.10-Feb-16 20:21
professionalV.10-Feb-16 20:21 
QuestionIssue with Serial Port class Pin
Member 120616009-Feb-16 23:13
Member 120616009-Feb-16 23:13 
SuggestionRe: Issue with Serial Port class Pin
Richard MacCutchan10-Feb-16 0:14
mveRichard MacCutchan10-Feb-16 0:14 
GeneralRe: Issue with Serial Port class Pin
Member 1206160010-Feb-16 0:23
Member 1206160010-Feb-16 0:23 
GeneralRe: Issue with Serial Port class Pin
Richard MacCutchan10-Feb-16 0:30
mveRichard MacCutchan10-Feb-16 0:30 
GeneralRe: Issue with Serial Port class Pin
Member 1206160010-Feb-16 0:38
Member 1206160010-Feb-16 0:38 
GeneralRe: Issue with Serial Port class Pin
Richard MacCutchan10-Feb-16 1:02
mveRichard MacCutchan10-Feb-16 1:02 
GeneralRe: Issue with Serial Port class Pin
Member 1206160010-Feb-16 1:18
Member 1206160010-Feb-16 1:18 
GeneralRe: Issue with Serial Port class Pin
Richard MacCutchan10-Feb-16 1:30
mveRichard MacCutchan10-Feb-16 1:30 
GeneralRe: Issue with Serial Port class Pin
Member 1206160010-Feb-16 1:52
Member 1206160010-Feb-16 1:52 
GeneralRe: Issue with Serial Port class Pin
Eddy Vluggen10-Feb-16 3:00
professionalEddy Vluggen10-Feb-16 3:00 
AnswerRe: Issue with Serial Port class Pin
Gerry Schmitz10-Feb-16 5:39
mveGerry Schmitz10-Feb-16 5:39 
QuestionWeb Services - Error in deserializing body of request message for operation Pin
FabeCode9-Feb-16 18:54
FabeCode9-Feb-16 18:54 
AnswerRe: Web Services - Error in deserializing body of request message for operation Pin
Gerry Schmitz10-Feb-16 5:13
mveGerry Schmitz10-Feb-16 5:13 
Question'ctor design and extra "cost" of using nullable ValueTypes ? Pin
BillWoodruff9-Feb-16 0:31
professionalBillWoodruff9-Feb-16 0:31 
AnswerRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
Pete O'Hanlon9-Feb-16 1:02
subeditorPete O'Hanlon9-Feb-16 1:02 
GeneralRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
BillWoodruff9-Feb-16 20:08
professionalBillWoodruff9-Feb-16 20:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.