Click here to Skip to main content
15,112,198 members
Home / Discussions / C#
   

C#

 
GeneralRe: FTP vs SCP Pin
Eddy Vluggen10-Feb-16 11:41
professionalEddy Vluggen10-Feb-16 11:41 
QuestionBeginner on TCP Server/Client Implementation Pin
Member 1018338210-Feb-16 7:18
MemberMember 1018338210-Feb-16 7:18 
QuestionProgrammatically login to website that uses 2 steps. Pin
Vouksh10-Feb-16 3:18
MemberVouksh10-Feb-16 3:18 
AnswerRe: Programmatically login to website that uses 2 steps. Pin
OriginalGriff10-Feb-16 5:14
mveOriginalGriff10-Feb-16 5:14 
GeneralRe: Programmatically login to website that uses 2 steps. Pin
Vouksh10-Feb-16 5:30
MemberVouksh10-Feb-16 5:30 
GeneralRe: Programmatically login to website that uses 2 steps. Pin
Luc Pattyn11-Feb-16 1:29
sitebuilderLuc Pattyn11-Feb-16 1:29 
GeneralRe: Programmatically login to website that uses 2 steps. Pin
OriginalGriff11-Feb-16 1:35
mveOriginalGriff11-Feb-16 1:35 
SuggestionRe: Programmatically login to website that uses 2 steps. Pin
Richard Deeming10-Feb-16 5:16
mveRichard Deeming10-Feb-16 5: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 21:21
professionalV.10-Feb-16 21:21 
QuestionIssue with Serial Port class Pin
Member 1206160010-Feb-16 0:13
MemberMember 1206160010-Feb-16 0:13 
SuggestionRe: Issue with Serial Port class Pin
Richard MacCutchan10-Feb-16 1:14
mveRichard MacCutchan10-Feb-16 1:14 
GeneralRe: Issue with Serial Port class Pin
Member 1206160010-Feb-16 1:23
MemberMember 1206160010-Feb-16 1:23 
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:38
MemberMember 1206160010-Feb-16 1:38 
GeneralRe: Issue with Serial Port class Pin
Richard MacCutchan10-Feb-16 2:02
mveRichard MacCutchan10-Feb-16 2:02 
GeneralRe: Issue with Serial Port class Pin
Member 1206160010-Feb-16 2:18
MemberMember 1206160010-Feb-16 2:18 
GeneralRe: Issue with Serial Port class Pin
Richard MacCutchan10-Feb-16 2:30
mveRichard MacCutchan10-Feb-16 2:30 
GeneralRe: Issue with Serial Port class Pin
Member 1206160010-Feb-16 2:52
MemberMember 1206160010-Feb-16 2:52 
GeneralRe: Issue with Serial Port class Pin
Eddy Vluggen10-Feb-16 4:00
professionalEddy Vluggen10-Feb-16 4:00 
AnswerRe: Issue with Serial Port class Pin
Gerry Schmitz10-Feb-16 6:39
mveGerry Schmitz10-Feb-16 6:39 
QuestionWeb Services - Error in deserializing body of request message for operation Pin
FabeCode9-Feb-16 19:54
MemberFabeCode9-Feb-16 19:54 
AnswerRe: Web Services - Error in deserializing body of request message for operation Pin
Gerry Schmitz10-Feb-16 6:13
mveGerry Schmitz10-Feb-16 6:13 
Question'ctor design and extra "cost" of using nullable ValueTypes ? Pin
BillWoodruff9-Feb-16 1:31
mveBillWoodruff9-Feb-16 1:31 
AnswerRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
Pete O'Hanlon9-Feb-16 2:02
mvePete O'Hanlon9-Feb-16 2:02 
GeneralRe: 'ctor design and extra "cost" of using nullable ValueTypes ? Pin
BillWoodruff9-Feb-16 21:08
mveBillWoodruff9-Feb-16 21: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.