public IRemoteProvider CreateWebDavProvider(string root) { string address = string.Format("{0}/webdav/", _context.Settings.BaseUrl.ToCurrentScheme(ApplicationContext.Current.Settings.HttpsDisabled)); var info = new WebDavProvider.ConnectionInfo(address, _context.Dal.UserId.ToString(), _context.Settings.Password); return(new WebDavProvider(info, root)); }
public IRemoteProvider CreateWebDavProvider(string root) { string address = string.Format("{0}/webdav/", _context.Settings.BaseUrl.ToCurrentScheme(ApplicationContext.Current.Settings.HttpsDisabled)); var info = new WebDavProvider.ConnectionInfo(address, _context.Dal.UserId.ToString(), _context.Settings.Password); return new WebDavProvider(info, root); }