IFtp.GetNameListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9313)
GetNameListAsync(Object)
Retrieves the list of file and directory names.
Declaration
Task<string[]> GetNameListAsync(object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<String[]> | An array of lines, with each line representing a single name.  | 
    
GetNameListAsync(String, Object)
Retrieves the list of file and directory names.
Declaration
Task<string[]> GetNameListAsync(string arguments, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| String | arguments | Server and protocol-specific arguments. Usually a directory path.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<String[]> | An array of lines, with each line representing a single name.  |