FileTransferClient.GetFileDateTimeAsync Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9083)
GetFileDateTimeAsync(String, Object)
Retrieves the modification date and time of the specified remote file.
Declaration
public Task<DateTime> GetFileDateTimeAsync(string remotePath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file. This cannot be a directory. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<DateTime> | A DateTime value set to date and time that the specified file was modified. |