I have the following code with the correct UN and PW, yet the code continues to error out (NOTE: There is no trouble connecting via WebDAV using SCP or other clients):
IClient c = new Client(new NetworkCredential { UserName = USERNAME, Password = PASSWORD });
c.Server = "https://app.latista.com";
c.BasePath="/webdav/messer/project_133/Test""
var files = await c.List(); //await c.List();
error CS4033: The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.
c.List()
Id = 12, Status = Faulted, Method = "{null}", Result = "{Not yet computed}"
AsyncState: null
CancellationPending: false
CreationOptions: None
Exception: Count = 1
Id: 12
Result: null
Status: Faulted
Any thoughts?
Thanks - Mike
I have the following code with the correct UN and PW, yet the code continues to error out (NOTE: There is no trouble connecting via WebDAV using SCP or other clients):
IClient c = new Client(new NetworkCredential { UserName = USERNAME, Password = PASSWORD });
c.Server = "https://app.latista.com";
c.BasePath="/webdav/messer/project_133/Test""
var files = await c.List(); //await c.List();
error CS4033: The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.
c.List()
Id = 12, Status = Faulted, Method = "{null}", Result = "{Not yet computed}"
AsyncState: null
CancellationPending: false
CreationOptions: None
Exception: Count = 1
Id: 12
Result: null
Status: Faulted
Any thoughts?
Thanks - Mike