public Task UpdateSecurityAsync(IStorageSecurity security, IProgress progress = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     try
     {
         if (null != progress)
         {
             progress.Total = 1;
             progress.Value = 0;
         }
         StorageRoot.SetSecurity(LocalPath, security);
         Security = security;
         return(Task.CompletedTask);
     }
     catch (Exception exn)
     {
         return(Task.FromException(exn));
     }
     finally
     {
         if (null != progress)
         {
             progress.Value = 1;
         }
     }
 }