API/CodeSamples/LicenseKey.md
... ...
@@ -34,7 +34,7 @@ Public Class CustomAdHocConfig
34 34
35 35
Shared Sub InitializeReporting()
36 36
'Check to see if we've already initialized
37
- If HttpContext.Current.Session = Nothing OrElse HttpContext.Current.Session("ReportingInitialized") IsNot Nothing Then
37
+ If HttpContext.Current.Session Is Nothing OrElse HttpContext.Current.Session("ReportingInitialized") IsNot Nothing Then
38 38
Return
39 39
'Initialize System
40 40
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"