Click here to Skip to main content
15,888,802 members
Home / Discussions / C#
   

C#

 
AnswerRe: Application.Run()??? Pin
dojohansen15-Nov-09 23:06
dojohansen15-Nov-09 23:06 
QuestionGet/use data in a c# program? Pin
ahlm15-Nov-09 9:44
ahlm15-Nov-09 9:44 
AnswerRe: Get/use data in a c# program? Pin
Abhishek Sur15-Nov-09 10:55
professionalAbhishek Sur15-Nov-09 10:55 
GeneralRe: Get/use data in a c# program? Pin
ahlm15-Nov-09 18:54
ahlm15-Nov-09 18:54 
GeneralRe: Get/use data in a c# program? Pin
Abhishek Sur15-Nov-09 21:02
professionalAbhishek Sur15-Nov-09 21:02 
GeneralRe: Get/use data in a c# program? Pin
Shameel16-Nov-09 3:04
professionalShameel16-Nov-09 3:04 
GeneralRe: Get/use data in a c# program? Pin
Abhishek Sur16-Nov-09 3:35
professionalAbhishek Sur16-Nov-09 3:35 
GeneralRe: Get/use data in a c# program? Pin
dojohansen15-Nov-09 23:16
dojohansen15-Nov-09 23:16 
To me it sounds like a spammer, not a keylogger. Big Grin | :-D

A program that can log in to forums and post messages on behalf of the user... Of course, he could just mean "a browser", or user-agent as it's more formally called!

In any event, if this interpretation is correct then yes, surely it's possible, at least if the site has no mechanisms to prevent programs from accessing it, such as CATCHPAs. But it isn't *easy* because it's an interface designed for humans and not programs. And it's not reliable because the interface might change at any time, and making a program interpret and understand the changes isn't easy. A browser only needs to understand how to display pages and how to post forms (well, there's a bit more to it but leaving aside scripts and plugins for the time being it is conceptually like this) and can rely on the human user to understand how to use the interface. An automated client has to either be intelligent enough to work out how to do so or make assumptions about what the requests it generates should be like.

If the site doesn't have any anti-bot measures (some use tests that aim to see if the client is a real browser as a less intrusive alternative to CATCHPAs, such as testing DOM functionality or JavaScript execution) at all, the easiest is probably to use an HTTP request analyzer (such as Fiddler) to see what requests are actually sent when you use your browser, and write a program that sends the same requests. Obviously this is likely to break as the site in question changes, but there's no way around that unless you solve problems the AI community are nowhere near solving after 50+ years of research. (Perhaps Jeff Hawkins and Numenta are closer though; at least their approach to machine intelligence seems to hold a lot more promise.)
GeneralRe: Get/use data in a c# program? Pin
ahlm16-Nov-09 6:25
ahlm16-Nov-09 6:25 
QuestionForm's height being cut off Pin
gdub15-Nov-09 9:17
gdub15-Nov-09 9:17 
AnswerRe: Form's height being cut off Pin
Luc Pattyn15-Nov-09 10:09
sitebuilderLuc Pattyn15-Nov-09 10:09 
GeneralRe: Form's height being cut off Pin
dojohansen15-Nov-09 23:20
dojohansen15-Nov-09 23:20 
Questionproblem in reading of connection string inside app.config by application Pin
Mohamed El-Wehishy15-Nov-09 8:58
Mohamed El-Wehishy15-Nov-09 8:58 
AnswerRe: problem in reading of connection string inside app.config by application Pin
PIEBALDconsult15-Nov-09 13:45
mvePIEBALDconsult15-Nov-09 13:45 
AnswerRe: problem in reading of connection string inside app.config by application Pin
Shameel16-Nov-09 3:08
professionalShameel16-Nov-09 3:08 
Questionsome Windows 7 and C# question Pin
E_Gold15-Nov-09 7:49
E_Gold15-Nov-09 7:49 
AnswerRe: some Windows 7 and C# question Pin
Christian Graus15-Nov-09 8:56
protectorChristian Graus15-Nov-09 8:56 
GeneralRe: some Windows 7 and C# question Pin
Adam Maras15-Nov-09 14:19
Adam Maras15-Nov-09 14:19 
GeneralRe: some Windows 7 and C# question Pin
Super Lloyd15-Nov-09 15:18
Super Lloyd15-Nov-09 15:18 
GeneralRe: some Windows 7 and C# question Pin
dojohansen15-Nov-09 23:27
dojohansen15-Nov-09 23:27 
GeneralRe: some Windows 7 and C# question Pin
Super Lloyd16-Nov-09 2:27
Super Lloyd16-Nov-09 2:27 
GeneralRe: some Windows 7 and C# question Pin
Shameel16-Nov-09 3:12
professionalShameel16-Nov-09 3:12 
QuestionHow to play video in c# Pin
Xelalem15-Nov-09 6:17
Xelalem15-Nov-09 6:17 
AnswerRe: How to play video in c# Pin
Abhishek Sur15-Nov-09 6:40
professionalAbhishek Sur15-Nov-09 6:40 
GeneralRe: How to play video in c# Pin
Xelalem15-Nov-09 6:50
Xelalem15-Nov-09 6:50 

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.