public int AddExperimentInfo(string labServerGuid, string labServerName, string labClientGuid, string labClientName, string labClientVersion, string providerName, string lssGuid) { int added = 0; UserSchedulingDB dbManager = new UserSchedulingDB(); if (dbManager.AuthenticateAgentHeader(agentAuthHeader)) { try { int eID = dbManager.AddExperimentInfo(labServerGuid, labServerName,labClientGuid, labClientName, labClientVersion, providerName, lssGuid); added = (eID != -1) ? 1 : 0; } catch { throw; } } return added; }