Пример #1
0
 /// <summary>
 /// Set the time fields of the attributes.
 /// </summary>
 /// <param name="atime"></param>
 /// <param name="mtime"></param>
 /// <remarks>
 /// Setting the times using this method does not affect the remote file until the attributes have been
 /// set using the <see cref="Maverick.SFTP.SFTPSubsystemChannel.SetAttributes(string, Maverick.SFTP.SFTPFileAttributes)"/> method.
 /// </remarks>
 public void SetTimes(DateTime atime, DateTime mtime)
 {
     SetTimes((uint)SupportClass.ConvertToEpochTime(atime),
              (uint)SupportClass.ConvertToEpochTime(mtime));
 }