public LogVisit() { // initialize the utility class with the encrypted connection string switch (Environment.MachineName) { case "InfiniEdge-Corp": case "HTX5Y21": case "GRQG441": case "917GY61": case "INFINIEDGE-DEV": clsUtility = new InfiniEdge.SQL(enc.SimpleCrypt(Config["infiniConn"])); break; default: clsUtility = new InfiniEdge.SQL(enc.SimpleCrypt(Config["remoteConn"])); break; } }