Namespace: ITHit.WebDAV.Client
string license = "<?xml version='1.0' encoding='utf... WebDavSession session = new WebDavSession(license, new HttpClientHandler() { Credentials = new NetworkCredential("User1", "pwd") }); IFolder folder = null; try { folder = await session.GetFolderAsync(new Uri("https://server/Products")); } catch(UnauthorizedException) { Console.WriteLine("Incorrect user name or password."); } catch(NotFoundException) { Console.WriteLine("Folder not found."); } if(folder!=null) { Console.WriteLine(folder.LastModified.ToString()); }