Do you have a standalone application or web application?
i have a standalone application with frameworks 2.0
my complete code is:
myService = new DocumentsService("SessionGoogleDocsSync");
myService.setUserCredentials(_username, _password);
public void CreateFolder(string nomecartella)
{
AtomCategory category = new AtomCategory("http://schemas.google.com/
docs/2007#folder", new AtomUri("http://schemas.google.com/g/
2005#kind"));
category.Label = "folder";
AtomEntry folder = new AtomEntry();
folder.Categories.Add(category);
folder.Title = new AtomTextConstruct
(AtomTextConstructElementType.Title, nomecartella);
Uri feedUri = new Uri("http://docs.google.com/feeds/documents/private/
full");
myService.EntrySend(feedUri, folder, GDataRequestType.Insert);
}
This works!
On 5 Dic, 10:29, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> i don't understand,
> ıt's work's Error
>
> System.Security.SecurityException: Request for the permission of type
> 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b77a5c561934e089' failed.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---