Exemplo n.º 1
0
        public WebDAV(string rootURL, int timeoutMs = 0, string uName = null, string uPwd = null, Version version = null, Log.ILog log = null)
        {
            if (rootURL.IsNullOrWhiteSpace())
            {
                throw new AzosIOException(Azos.Web.StringConsts.ARGUMENT_ERROR + this.GetType().Name + ".ctor(path == null|empty)");
            }

            m_RootUri = new Uri(rootURL);

            m_TimeoutMs = timeoutMs;

            m_UName          = uName;
            m_UPwd           = uPwd;
            m_CurrentVersion = version;
            m_Log            = log;
        }