'Declaration
Public NotInheritable Class AgentConfiguration
public sealed class AgentConfiguration
'Declaration
Public NotInheritable Class AgentConfiguration
public sealed class AgentConfiguration
/// <summary> /// The primary program entry point. /// </summary> static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] public static void Main() { Log.Initializing += Log_Initializing; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Thread.CurrentThread.Name = "User Interface Main"; //set the thread name before our first call that logs on this thread. Log.StartSession("Starting Gibraltar Analyst"); //here you actual start up your application //and if we got to this point, we done good and can mark the session as being not crashed :) Log.EndSession("Exiting Gibraltar Analyst"); } static void Log_Initializing(object sender, LogInitializingEventArgs e) { //and configure Loupe Server Connection ServerConfiguration server = e.Configuration.Server; server.UseGibraltarService = true; server.CustomerName = "Gibraltar Software"; server.AutoSendSessions = true; server.SendAllApplications = true; server.PurgeSentSessions = true; } }
System.Object
Gibraltar.Agent.Configuration.AgentConfiguration
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2