Exemple #1
0
        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));
        }
Exemple #2
0
 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);
 }