About using Fozium Analytics

How to use Fozium Analytics with .NET

Connecting to the web service
Open a project in which you plan to use Fozium Analytics.
Select the menu item «Project->Add Web Reference...».



In the resulting dialog box specify the address of the web service with prefix ?wsdl and press the green arrow button.
After receiving data from Fozium Analytics, click the «Add Reference» button.



We just created a module to access the web service of Fozium Analytics.



Working with the web service
The following code demonstrates how to call the service CheckApiKey, which returns information about the API-KEY. This way you can also call all of the other services of Fozium Analytics.

 
try
{
    net.softwareanalytics.SoftwareAnalyticsService client = new net.softwareanalytics.SoftwareAnalyticsService();
    string result = client.CheckApiKey("API-KEY");
    MessageBox.Show(result, "Fozium Analytics", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch
{
    MessageBox.Show("Could not connect to the service", "Fozium Analytics", MessageBoxButtons.OK, MessageBoxIcon.Error);
}

Names of available web services are described in your account.