I am programming a server, which needs to receive payment information from paypal (PayPal), in C#, but it isn't supposed to be via website (I've found many "walkthroughs" for that), it is supposed to receive the payment information via console, or any other non-graphical way.
Is it possible? If it is, how can I do it? Can I do it via sockets?
I've heard about wcf, but I don't know if it will help me achieve my objectives.
If you could please tell me where to look I'll be very grateful.
Thanks in advance and sorry for any english mistakes.
If you can do it from a C# GUI, you can do it from a console program. You need the PayPal C# SDK.
You can use WebRequest to make arbitrary http requests. Granted, this will be much more difficult than using the aforementioned SDK. You will be building requests and parsing responses; most of which the SDK is doing for you.
Related
I'm trying to create a simple Client2Client console chat, for learning purposes, using C# and, blame my lack of experience in networking, I'm stuck.
From what I've been able to deduce, and correct me if I'm wrong, I should create a Server .exe and a Client .exe.
The thing is, I know how to use HttpListener to get requests from a client and then send a response to him, but I can't seem to find a clear answer on how to get data from a client and then send it to another client.
I tried Google but my doubts are as strong as before. Any suggestion would be extremely helpful :)
There seems to be very little information on interacting with the WSO2 products from WCF or .Net in general. I am attempting to subscribe to a Topic which is defined in the WSO2 Message Broker, but I have no idea where to start. Eventually, I'd like to publish events from a C# application, but again, I could use some help finding a starting point.
I've successfully coded something up using the RabbitMQ .net libraries, but only for reading/writing to a queue, not a topic. Thanks in advance for any help.
I think you can do this using WS-Eventing API by writing a C# client. You can refer the section on WS-Eventing in this article. Unfortunately, the example code is in Java.
I have C# code which will capture the msg from the mobile phone and respond to it. I need to connect this code with jpcap in java in order to capture the packets according to the request from the mobile phone. Can anyone help me with this?
What about using a webservices, also may be wcf rest service something good in this case.
im making an application that needs to get received messages that were sent to google chat. is there an api for working with google chat?
can someone please give me an example in C# how do i receive gtalk messages? im sorry the xmpp documentation is too complex and i do not understand where to start
I believe that Gtalk uses the Jabber/XMPP protocol.
You can find more information on it here: http://xmpp.org/protocols/
Here is a list of APIs you may find useful:
http://xmpp.org/software/libraries.shtml
Is there an easy way to create an IM bot on multiple im networks (aim, gtalk, yim, etc) that can accept and interpet specific commands sent to it to perform a server related task?
Lets say for instance I have a website for managing an rss feed. I want to send a command to an IM bot to add another feed to my collection. the IM bot would associate my screen name with my account from prior setup on the website.
I have done some internal bots for my company using the XMPP (Jabber) protocol, I've used the agsXMPP SDK and the Jabber.NET client libraries, I was looking for APIS to work with YIM, AIM and Windows Live Messenger but I've found only COM exposed APIS, nothing for .NET...
But an idea comes to my mind, with the XMPP Protocol you can configure a local server with IM Gateways, that allow users to access networks using other protocols through your server
I use eJabberd, you can install a variety of transport gateways to connect with other IM protocols (AIM, MSN, ICQ, GTalk...
To GTalk you can connect directly using the libraries I mention...
A sample ICQ gateway:
The short answer to this question is yes this can be done relitivly easily. Sedning and receiving IMs sending, receiving and interpreting requests from the network you wish to communicate on and there are libraries available for each of the major IM protocols to make this easier.
For messenger you can try the DotMsn library, I have used it in the past but at that time it was still quite new and I have not used it since so I can't vouch for it's quality.
Jabber uses the XMMP protocol which is an open-standard so there are bound to be plenty of client libraries available.
If I recall correctly Google Talk uses this protocol or a modified version thereof.
I dont have experience with c# but I have written one for AIM and Gtalk using PHP. http://www.imified.com/ is the best place to start if you looking for a easier way to write an IM bot.
Basically you create an account in imified.com .
Name your bot and link a script.
When ever a message is sent to the bot, imified.com automatically runs this script.
Here is a link for you get you started!
We have professional .NET/COM/VCL library for MSN/Yahoo/ICQ/AIM/GTalk/Jabber. Please take a look at http://www.imcomponents.com/ if you like.