AnalyticsMonitorFactory Create Method .NET Progress Telerik Platform Analytics Monitor Documentation, API Reference, Online Help | WPF, Silverlight, WinForms, Windows Phone Application Analytics
Create an IAnalyticsMonitor instance using the customized settings in the AnalyticsMonitorSettings instance.

Namespace: EQATEC.Analytics.Monitor
Assembly: EQATEC.Analytics.Monitor (in EQATEC.Analytics.Monitor.dll) Version: 3.2.144.0 (3.2.144)
Syntax

public static IAnalyticsMonitor Create(
	IAnalyticsMonitorSettings settings
)

Return Value

an instance of the IAnalyticsMonitor interface
Exceptions

Examples

This sample shows how to start the Analytics monitor.
class MyClass 
{
  static void Main() 
  {
    //Creating AnalyticsMonitorSettings
    AnalyticsMonitorSettings settings = new AnalyticsMonitorSettings("YOUR_PRODUCT_KEY_HERE");
    settings.TestMode = true;

    //Creating IAnalyticsMonitor
    IAnalyticsMonitor monitor = AnalyticsMonitorFactory.Create(settings);

    //Start Analytics monitor
    monitor.Start();

    /*Your program here....*/ 

    //Stop Analytics monitor
    monitor.Stop();
  }
}
See Also