public DavRessource(string ressource, DavContext context) { this.ressource = ressource; this.context = context; DAVc = new DAVSharp.DavServerConnection(context.server_uri); if (context.password != null) DAVc.Password = context.password; if (context.username != null) DAVc.Username = context.username; }
private void Open_Load(object sender, EventArgs e) { DrawComboPwd(basedir); this.context = new DavContext("http://192.168.3.31", 8080, "fr", "fr"); this.CurrentDir = basedir; FillFileList_LaunchThread(); IncrementProgressBar_LaunchThread(); }