API/CodeSamples/LicenseKey.md
... ...
@@ -12,15 +12,15 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
12 12
{
13 13
// Configure settings
14 14
// Add custom settings after setting the license key and connection string by overriding the ConfigureSettings() method
15
-public static void InitializeReporting() {
15
+ public static void InitializeReporting() {
16 16
//Check to see if we've already initialized.
17 17
if (HttpContext.Current.Session == null || HttpContext.Current.Session["ReportingInitialized"] != null)
18
- return;
18
+ return;
19 19
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE";
20 20
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
21 21
Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
22 22
HttpContext.Current.Session["ReportingInitialized"] = true;
23
-}
23
+ }
24 24
}
25 25
```
26 26