예제 #1
0
    public string PROP_Delete(string EP_PROPERTY_ID,string SK)
    {
        string[,] p = new string[2, 1];
        p[0, 0] = "EP_PROPERTY_ID";
        p[1, 0] = EP_PROPERTY_ID;

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

        EP_PROPERTY_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EP_PROPERTY_ID);

        COS_WEBSERVICE_PROP cos_w_prop = new COS_WEBSERVICE_PROP();
        return COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_prop.PROP_Delete(EP_PROPERTY_ID).ToString());


    }
예제 #2
0
    public string PROP_Delete(string EP_PROPERTY_ID, string SK)
    {
        string[,] p = new string[2, 1];
        p[0, 0]     = "EP_PROPERTY_ID";
        p[1, 0]     = EP_PROPERTY_ID;

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

        EP_PROPERTY_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EP_PROPERTY_ID);

        COS_WEBSERVICE_PROP cos_w_prop = new COS_WEBSERVICE_PROP();

        return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_prop.PROP_Delete(EP_PROPERTY_ID).ToString()));
    }