I was recently asked how someone could access a document in a Sharepoint list from a Winforms client. His only caveat was that it was secured via SSL.
This is the code I gave him, and it seems to work!
System.Net.WebClient Client = new System.Net.WebClient();
Client.UseDefaultCredentials = false ;
creds = new System.Net.NetworkCredential(@"MyUserID", "MyPassword");
Client.Credentials = creds;
Subscribe to Cloud with a Sunny Outlook
Get the latest posts delivered right to your inbox