public bool SendRessource(byte[] uploadbyte) { sendContainer = new DAVSharp.ProgressContainer(); receiveContainer = new DAVSharp.ProgressContainer(); bool success = DAVc.PutResource(this.ressource, "application/msword", uploadbyte, out resultCode, out resultReason, out resultContent, sendContainer, receiveContainer); return success; }
public bool GetRessource(out FileStream Content) { sendContainer = new DAVSharp.ProgressContainer(); receiveContainer = new DAVSharp.ProgressContainer(); bool success = DAVc.GetResource(this.ressource, out resultCode, out resultReason, out resultContent, out Content, sendContainer, receiveContainer); Content.Close(); return success; }