How do I modify this code to work in a Windows Form

Apr 15, 2014 at 6:51 PM
Hi All,

Thanks for posting this source code. I am very new to SharePoint 2013 App Dev, so pls bare with me. I am trying to code a windows form to upload a file to on - premises SharePoint 2013 website. Anyway I read that I must use active authentication to remotely login to the SharePoint Website and upload the file using CSOM. Hence, I figure that this source code (SharePoint WinRT Client) will show me how to accomplish this task, however I'm not sure how to apply this code to Windows Form. Any help would be much appreciated.

Kind Regards