/// <summary> /// Set Panopto "notify" setting environment variable. /// </summary> public static void SetNotify(bool notify) { // Convert bool to string. string settingText = notify ? "true" : "false"; ConfigurationVariable.SetValue(NotificationsVarName, null, null, null, null, null, VariableType.DefaultSetting, settingText); }
/// <summary> /// Set Panopto application key environment variable. /// </summary> public static void SetAppKey(string appKey) { ConfigurationVariable.SetValue(AppKeyVarName, null, null, null, null, null, VariableType.DefaultSetting, appKey); }
/// <summary> /// Set Angel instance name environment variable. /// </summary> public static void SetInstanceName(string instanceName) { ConfigurationVariable.SetValue(InstanceVarName, null, null, null, null, null, VariableType.DefaultSetting, instanceName); }
/// <summary> /// Set Panopto server name environment variable. /// </summary> public static void SetServerName(string serverName) { ConfigurationVariable.SetValue(ServerVarName, null, null, null, null, null, VariableType.DefaultSetting, serverName); }
/// <summary> /// Set the ID of the Panopto course to pull content from for the specified Angel course. /// </summary> /// <param name="angelCourseID">ID of the Angel course to set the setting on.</param> /// <param name="panoptoCourseID">ID of the Panopto course to pull content from.</param> public static void SetPanoptoCourseID(string angelCourseID, Guid panoptoCourseID) { ConfigurationVariable.SetValue(PanoptoCourseIDVarName, null, null, null, angelCourseID, null, VariableType.CourseSetting, panoptoCourseID.ToString()); }