public string PROP_Add(string EP_PROPERTY_TABLE_ID, string EP_PROPERTY_NAME,string SK) { string[,] p = new string[2, 2]; p[0, 0] = "EP_PROPERTY_TABLE_ID"; p[1, 0] = EP_PROPERTY_TABLE_ID; p[0, 1] = "EP_PROPERTY_NAME"; p[1, 1] = EP_PROPERTY_NAME; if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK)) return COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4"); EP_PROPERTY_TABLE_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EP_PROPERTY_TABLE_ID); EP_PROPERTY_NAME = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EP_PROPERTY_NAME); COS_WEBSERVICE_PROP cos_w_prop = new COS_WEBSERVICE_PROP(); return COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_prop.PROP_Add(EP_PROPERTY_TABLE_ID, EP_PROPERTY_NAME).ToString()); }
public string PROP_Add(string EP_PROPERTY_TABLE_ID, string EP_PROPERTY_NAME, string SK) { string[,] p = new string[2, 2]; p[0, 0] = "EP_PROPERTY_TABLE_ID"; p[1, 0] = EP_PROPERTY_TABLE_ID; p[0, 1] = "EP_PROPERTY_NAME"; p[1, 1] = EP_PROPERTY_NAME; if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK)) { return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4")); } EP_PROPERTY_TABLE_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EP_PROPERTY_TABLE_ID); EP_PROPERTY_NAME = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EP_PROPERTY_NAME); COS_WEBSERVICE_PROP cos_w_prop = new COS_WEBSERVICE_PROP(); return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_prop.PROP_Add(EP_PROPERTY_TABLE_ID, EP_PROPERTY_NAME).ToString())); }