Ejemplo n.º 1
0
    public string EP_PROPERTYDATA_Sync(string HCCU_ID, string SK)
    {
        string[,] p = new string[2, 1];
        p[0, 0]     = "HCCU_ID";
        p[1, 0]     = HCCU_ID;

        if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK))
        {
            return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4"));
        }

        HCCU_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(HCCU_ID);

        COS_WEBSERVICE_PROP cos_w_prop = new COS_WEBSERVICE_PROP();

        return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_prop.EP_PROPERTYDATA_Sync(HCCU_ID)));
    }
Ejemplo n.º 2
0
    public string EP_PROPERTYDATA_Sync(string HCCU_ID,string SK) {

        string[,] p = new string[2, 1];
        p[0, 0] = "HCCU_ID";
        p[1, 0] = HCCU_ID;

        if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK)) return COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4");

        HCCU_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(HCCU_ID);

        COS_WEBSERVICE_PROP cos_w_prop = new COS_WEBSERVICE_PROP();
        return COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_prop.EP_PROPERTYDATA_Sync(HCCU_ID));
    
    
    
    }