iText Licensing Library 4.0.3 API
iText.Licensing.Base.Reporting.LicenseKeyReportingConfigurer Class Reference

Static Public Member Functions

static void  UseRemoteReporting ()
  Select remote reporting type in which events are sent over the web to a remote server. More...
 
static void  UseLocalReporting (String directoryToWritePath)
  Select local reporting type with specified root directory for generated reports. More...
 
static void  ResetApiConfiguration ()
  Reset API configuration. More...
 
static ? ReportingType  GetReportingType ()
 
static String  GetLocalFileRootDir ()
 
static bool  IsStatisticsEnabledForProduct (String productName)
  Checks if statistics are enabled for such productName. More...
 
static void  OverrideStatisticsSendingForProduct (String productName, bool sendStatistics)
  Enables or disables statistics for provided product. More...
 

Static Public Attributes

const String  REMOTE_REPORTING_TYPE = "remote"
 
const String  LOCAL_REPORTING_TYPE = "local"
 

Member Function Documentation

◆ IsStatisticsEnabledForProduct()

static bool iText.Licensing.Base.Reporting.LicenseKeyReportingConfigurer.IsStatisticsEnabledForProduct ( String  productName )
inlinestatic

Checks if statistics are enabled for such productName.

Parameters
productName name of the product for which to check if statistics are enabled
Returns
true if statistics are enabled, false otherwise

◆ OverrideStatisticsSendingForProduct()

static void iText.Licensing.Base.Reporting.LicenseKeyReportingConfigurer.OverrideStatisticsSendingForProduct ( String  productName,
bool  sendStatistics 
)
inlinestatic

Enables or disables statistics for provided product.

Enables or disables statistics for provided product. By default the value from license file will be taken.

Parameters
productName name of the product for which enable or disable statistics
sendStatistics true to enable statistics, false otherwise

◆ ResetApiConfiguration()

static void iText.Licensing.Base.Reporting.LicenseKeyReportingConfigurer.ResetApiConfiguration ( )
inlinestatic

Reset API configuration.

Reset API configuration. Can be used to use environment variables or default logic after API use.

◆ UseLocalReporting()

static void iText.Licensing.Base.Reporting.LicenseKeyReportingConfigurer.UseLocalReporting ( String  directoryToWritePath )
inlinestatic

Select local reporting type with specified root directory for generated reports.

Parameters
directoryToWritePath the path to local directory for writing reports. If it is null, then System property, or System environment variable will be used.

◆ UseRemoteReporting()

static void iText.Licensing.Base.Reporting.LicenseKeyReportingConfigurer.UseRemoteReporting ( )
inlinestatic

Select remote reporting type in which events are sent over the web to a remote server.