Example #1
0
 public static bool AddFile(string title, string body)
 {
     if (loginToken.Length > 0)
     {
         try
         {
             using (StorageClient sc = new StorageClient())
             {
                 return(sc.AddFile(loginToken, new StorageFile()
                 {
                     Title = title, Body = body
                 }));
             }
         }
         catch { }
     }
     return(false);
 }