I want to do this, I want to access to my Skydrive with a Winform application, if it's possible. Actually I want to access some of my anywhere, or access some other people access to them as well, but prefer not on a browser or Windows phone. Access mostly will be just a Read access.
Do you have a better solution for this situation??
What should or could I do??
Thanks
SkyDrive has an official RESTFul API. So go ahead to this site and start reading the documentation in order to understand how this API works.
There's also a non-official .NET client.
Related
I need to find a way to read all contacts and chat messages from Skype without API.
By Microsoft they will not support the Skype API any more. This is why I need it.
In the C:\Documents and Settings**username**\Application Data\Skype there are some files but need to parse them and not sure how if it is the right approach.
Of course the chat messages are always synchronized from the cloud. I need at least the messages saved on the disk.
According to Ilya Ivaonv Skype saves all the data in the SQLLite main.db file situated in %AppData%\Skype folder.
I recommend two ways to do this:
A. Easiest way is to use Skyperious. Available for Windows, Linux and Mac. You can do all this
This is the search function:
And here is sample output from an export:
B. The harder, but naturally more flexible way, is to install a SQLite Browser, such as this one, and export the messages yourself. You can see some information on how to do that by looking at this article, or you could also search for other similar articles (AlexS' answer also provides clues). You will need some experience with SQL to use this option.
Please help. I am looking for a way to upload a file to Google Drive with my app. The Google Account in question will be a specific one, i.e. not the client's account, a 'Service' account. I've tried to Google it, but I can't find anything that seems to do what I want, And the API reference I probably don't understand. I have been thrown in the deep end for a project. Any source or links to help Please! I am not asking anyone to write my source, but if it exists, it would be nice.
Note: This is my last hope. I don't ask a question unless there is nooooo other way.
(I am using Windows Forms)
Thanks
Jacques
EDIT: It is always signing in to MY drive, whether I am using it or you are using it. I have also posted this question to CodeProject to harness maximum brain power.
PermaLink: http://www.codeproject.com/Questions/652006/Upload-from-Csharp-to-GDrive
This page tells you what you need to know about authorizing a service account https://developers.google.com/drive/service-accounts
This page shows you the C# required to upload a file, once you have been authorized https://developers.google.com/drive/v2/reference/files/insert
Treat the authorization and the uploading as two separate problems and you'll find life much easier. The end result of the authorization procedure is an access token. Give that access token the insert API and you're all set.
I have a simple question in which I couldn't find an exact answer to, that question being:If I created an ASP.NET webpage, is it possible for someone to steal my C# source code?And if so, how can I protect my webpage's source code from being stolen/dumped/reverse engineered?
Please if you do know anything about this, as many replies as possible would be greatly appreciated! Thank you guys so very much, even if you just give me an idea on this topic! :)
Are you talking about a corporate user or a regular user?
Someone accessing your website from a web browser, like a standard user can not access your aspx/cs server side code. However if you are talking about a corporate user, if they browse to your web server and have access to your inetpub\wwwroot directory (or wherever your source resides) they have full read or maybe even write access. It all depends on the type of user, and the user security system in place for your domain, whether the person trying to get in is part of your domain and has proper privileges on your server. Also some client side scripts are exposed to user's as well.
So as far as server side scripts, users not part of your domain, and stringent security settings on your web server, are all factors contributing. But I think you mean in the context of a user just trying to access code from the web browser without any additional permissions. Which in this case would be no.
Not a complete answer but your C# code will be better protected if you use a Web Application rather than a Web Site. Your C# code will be compiled so even with an FTP access (or a direct access to the production server, if you suspect an inside threat), one won't be able to download your .cs files. Of course, one can download .dll and reverse engineer but that's something.
Read more about Web Apps vs Web Sites here : http://msdn.microsoft.com/en-us/library/dd547590.aspx
To the best of my knowledge there is not a way for someone to steal your asp code unless you allow them to see the file itself. If you view source you will see that the majority of the asp code has been changed either to html or javascript.
If I created an ASP.NET webpage, is it possible for someone to steal my C# source code?
Yes it is, there just to many ways how this can happen, vulnerability in the hosting environment, IIS exploit, your code allowing to download things etc. Just accept that your libraries (I assume they are compiled by the time you deploy) will be downloaded and protect them accordingly.
How can I protect my webpage's source code from being stolen/dumped/reverse engineered?
You cannot have an ultimate protection, but you may make life complicated for the person trying to reverse engineer it. Probably the most effective solution is to use code obfuscation. You may also want to read more general documentation on this topic, such as Design Guidelines for Secure Web Applications.
I've seen software products that interface with windows explorer for sharing cloud drives, one was for using gmail as a drive. Is there any documentation on what libraries etcetera are used to accomplish this task?
I'm not looking to use Gmail (specifically)
I'm more concerned about
how to access the windows-explorer interface for showing items that
are not on a real disk.
You'll need to create a Windows shell extension.
This article looks promising - although quite old.
However, as stated in that article, you are discouraged to build a shell extension with managed code.
You should download open-source software such as gDisk to see how they are doing it. Or you can see how it is done in Firefox using Gspace. Here are some general guidelines for developing such applications:
You need some way to distinguish files from email (labels, subject line, etc).
You need an interface to login to the GMail website and cache those credentials.
You need an interface to send an email to yourself.
Finally, you need a way to access those "files".
Let's say I'm writing a eBook reader for Windows Phone 7. Now the first thing that the user will need to do is add some books to his device, and since I don't offer a online book store or similar service, the only option is file transfer from his PC to the phone. Is he able to do this, how? Then how do I access this file. Can this file be placed in Isolated Storage of my app? I was searching around and didn't find any solution, in fact I believe that similar scenario is currently impossible but I just wanted to hear your toughs on the problem and probably some workaround ideas.
I haven't seen any way to add files from the desktop the phone is connected to. However, you can build your own software for the desktop that uses a WCF service and allows connections from the phone. The phone can download files from the desktop WCF service. See a similar concept here, you can implement the concept discussed in the post the other way round.
HTH, indyfromoz
Would you not be able to download the ebooks using some kind of webservice/http?
(Obviously you'll need a website, somewhere for this)