public ListAll ( string path ) : List |
||
path | string | The path whos subdirectories and their files are requested. |
Результат | List |
public List<string> ListAll(string path)
{
MpdResponse response = null;
if (path == null)
response = this.getConnection().Exec("listall");
else
response = this.getConnection().Exec("listall", new string[] { path });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
return response.getValueList();
}