Exemplo n.º 1
0
 public static void AddFolderWatcher(int FolderId, FolderWatcherActions Actions, string Folder)
 {
     if (IsRegistered)
     {
         using (var parameters = new Parameters())
         {
             APICall(parameters
                     .AddInt((int)Function.AddFolderWatcher)
                     .AddInt((int)Id)
                     .AddInt(FolderId)
                     .AddInt((int)Actions)
                     .AddString(Folder));
         }
     }
 }
Exemplo n.º 2
0
 public static void AddFolderWatcher(int FolderId, FolderWatcherActions Actions, string Folder)
 {
     if (IsRegistered)
     {
         using (var parameters = new Parameters())
         {
             APICall(parameters
                 .AddInt((int)Function.AddFolderWatcher)
                 .AddInt((int)Id)
                 .AddInt(FolderId)
                 .AddInt((int)Actions)
                 .AddString(Folder));
         }
     }
 }