Authentication failed using .Net sample code


I have the API Key and Hash Key that I get from the dashboard page.
And then Ive download the example code from :
and I’m trying to create new query that provided as part of the sample.
But i’m keep getting error Authentication failed.
Could you please advice why? Thanks



You need your username and API key to authenticate calls to the API - the stream hash specifies which stream you would like to consume. An example call to the API could be:


Please ensure you are using the correct username and API key to authenticate.