DatStat Illume SDK Help

Connecting to an Illume Server

To connect to the Illume server you will need to know the URI of your DesignerService, and the user name and password for the Non-Interactive user account that will be used to connect.

The following code sample demonstrates how to connect to the DesignerService.


using DatStat.SDK.WebServiceWrappers;

namespace SDK.Example {
    class example {
        private string user = "sdkuser";
        private string pwd = "sdkpassword";
        private string dsUrl = "http://localhost/DesignerService/";
        WebServiceContext ctx;

        public example() { }

        public Connect() {
            ctx = new WebServiceContext();
            ctx.DesignerServiceURL = dsUrl;
            ctx.Connect(user, pwd, false);
        }
    }
}


Once connected, the WebServiceContext instance object can be used to interact with the underlying Illume system.


Next: WebService SDK Examples