I have code from the web to do what I need to but I need assistance. I have created the dll to use but now need to create the program to get the information from the web site. The link they provided for the dll is https://academy.bpmonline.com/docume...cation-service which seems to have compiled ok. The link to the service is https://academy.bpmonline.com/docume...eading-records. It has instructions but I am stuck on calling the authentication dll. This is what I have so far.

using System;
using System.Text;
using System.IO;
using System.Net;
using System.Collections.Generic;
using System.Runtime.InteropServices;
//using Terrasoft.Nui.ServiceModel.DataContract;
//using Terrasoft.Core.Entities;
using System.Web.Script.Serialization;
//using Terrasoft.Common;



namespace BPMGetPLine
{
class Program
{
// Bpm'online primary application URL. Must be replaced with a custom one.
private const string baseUri = @"http://appliedrobotics..bpmonline.com";
// Query string to the Login method of the AuthService.svc service.
private const string authServiceUri = baseUri + @"/ServiceModel/AuthService.svc/Login";
// SelectQuery path string.
private const string selectQueryUri = baseUri + @"/0/DataService/json/SyncReply/SelectQuery";
// Bpm'online authentication cookie.
private static CookieContainer AuthCookie = new CookieContainer();

static void Main(string[] args)
{


}
}
}