Aspose.Cells.GridWeb.Examples.CSharp.Global.Session_Start C# (CSharp) Method

Session_Start() protected method

protected Session_Start ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
return void
		protected void Session_Start(Object sender, EventArgs e)
		{
#if SITE_BUILD
			// NOTE that in production you would want to call 
            // new License().SetLicense("path-to-license-file")
			try
			{
				//Aspose.Cells.License lic = new Aspose.Cells.License();
                //Aspose.Demos.Common.WebOperationsBridge.InitLicense(lic);

                //Aspose.Cells.GridWeb.License lic2 = new Aspose.Cells.GridWeb.License();
                //Aspose.Demos.Common.WebOperationsBridge.InitLicense(lic2);
			}
			catch
			{
			}
#endif
        }