public byte[] getDoc(string name)
        {
            GetDocRequest req = new GetDocRequest();

            req.user       = new User();
            req.user.login = conf.Login;
            req.user.pass  = Utils.GetMD5String(conf.Soap_pass);
            req.fileName   = name;
            GetDocResponse resp = (GetDocResponse)Soap.GetDoc <GetDocResponse>(req);

            if (resp.errorCode != 0)
            {
                throw new Exception(resp.errorMessage);
            }
            return(Utils.Base64DecodeToBytes(resp.content, "UTF-8"));
        }