Can my software send data to my site and read data? [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Can my software send information to my site and read information off my site?
Imagine that someone opens a copy of my software. The IP address of that device send to my site. So I can see if that person is a friend or not. If that person is not a friend, I will set a variable to false.
The software will then read it as false then the software will close out.
Is this possible to do? If so, how can I do this?

You need to add a web service on your site then you can call the service and get an answer. You can also create a simple web page that see a white page with the result true or false. Consider using a WCF service so that it can expand if you needed more in the future.

Related

Send request to plugin and get result in C# [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 11 months ago.
Improve this question
I have software that takes your request, And I want to control requests with the plugins.
Fore example console writes: Enter Request: and i write time
well, Now I want the software to check if any plugin supports this command and then turn back the time and more (day, mouth, list of plugins, ...).
I looked at other sources but could not implement the project.
I hope someone can help me. :) Thanks.
I think you can adapt this MS tutorial and get what you want.
https://docs.miosoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support
It shows how to load pluggins and execute. From what you are describing this is what you are looking.

Post some content from website to Facebook page [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to create a website which will allow user to login with his/her Facebook credentials. Now, my website would allow user to post some content (text plus images) and also if user posts it on my website, it should also be posted on a page (which is also created and owned by me).
Is it possible to do that? If yes, can anyone point to any resource which explains how to do it?
Yes it is very easy task, you must rely on some facebook SDK, more precise, you need to choose a library that offers wrapping classes around FB Graph Api i.e. Api Client.
This being said, check the following links as a start and continue developing according to your application requirements.
https://github.com/facebook-csharp-sdk
https://www.nuget.org/packages/Facebook
P.S: the library you choose must support OAuth, and you should read more about this protocol.

Write request and receive a response with web chat bot [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to create simple interface to analyze conversation with different available web chatter bots. So I have no idea in which direction I've to research, if only thing I want is a write massage to the chatterbot for example cleverbot.com from the textbox of my application and get answer string from it. if I can figure it out with this, then I want get the list of available web chat bots to choose. Maybe I can use WebClient for this goal, need any advice on this direction
Have a look at SignalR from Microsoft.
In their tutorial they provide an example for a chat.
i would not try to implement a chat functionality by yourself. Posting all chat messages over your server and poll them from the clients was state of the art in the 90's.
(Picture taken from Tutorial: Getting Started with SignalR 2)

Store data at client browser [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a scenario for some data need to store at client side I dont want to use server memory. I need to store data like resultset.
For exmp I have shopping site and when the user is to do add to basket I need to store that basket information to the browser cookie.
In short I need to store a list object in the web browser cookie.
I had use the cookie but it only store the string object.
I think the problem can be solve by serialize the list object to json string or xml string but I didnt get the right way for the same.
Can any one suggest me a right way to achive this.
I most appriciate your solution.
You can use localStorage, but it is limited to 5mb and not supported by IE7 and less.
Alternatively, for cross-browser compatibility you can use 3rd party libraries like Store.js.

How to fetch Gmail contacts? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have a scenario in my current application where I want to fetch the Gmail id's of my users.
Could anyone tell me the way with piece of code in C#?
Note: I am developing a web-base application in asp.net with C#.
Use the google contacts api there are C# sample there.
You can use the Google Accounts API.
You can find an example here.
Take a look at the open source .Net library gmailapi.The GmailAgent has a GetContacts method for retrieving all the contacts.

Categories