private static bool IsContainAllKey(Dictionary <string, string> dict) { if (dict.ContainsKey("sesskey") && dict.ContainsKey("profileid") && dict.ContainsKey("productid")) { if (GameSpyUtils.IsNumber(dict["sesskey"]) && GameSpyUtils.IsNumber(dict["profileid"]) && GameSpyUtils.IsNumber(dict["productid"])) { return(true); } else { return(false); } } else { return(false); } }