public void PostData(string data, string type) { try { // hex (b64(sea(text))) CSNetworkConnection.PostData(SEA.ConvertToHex(SEA.EncryptToBase64(Encoding.UTF8.GetBytes(data))), type, Location); } catch { } finally { } }
void CloudCheck_Detected(string hash, string virusname, string filename) { try { // hex (b64(sea(text))) CSNetworkConnection.PostData(SEA.ConvertToHex(SEA.EncryptToBase64(Encoding.UTF8.GetBytes("hash=" + hash + "|name=" + virusname + "|file=" + filename))), "cloud", Location); } catch { } finally { } }