Hi Becky,
I know this is an old post. Trying to be a good citizen and help build up the knowledge. Here is an example in C# / winforms. With this example I authenticate with default/password. Note that with this example an app would need to be created of type "Third Party App".
private Endpoint GenesysEndpoint;
private ConfServerProtocol GenesysConfServerProtocol;
private IConfService GenesysConfigService;
private void button1_Click(object sender, EventArgs e)
{
try
{
GenesysEndpoint = new Endpoint("default", "csrdgenadm01", 2020);
GenesysConfServerProtocol = new ConfServerProtocol(GenesysEndpoint);
GenesysConfServerProtocol.ClientApplicationType = (int)CfgAppType.CFGThirdPartyApp;
GenesysConfServerProtocol.ClientName = "Some_App_Of_Type_3rd_Party_App";
GenesysConfServerProtocol.UserName = "default";
GenesysConfServerProtocol.UserPassword = "password";
GenesysConfigService = ConfServiceFactory.CreateConfService(GenesysConfServerProtocol);
GenesysConfServerProtocol.Open();
}
catch (Exception ex)
{
MessageBox.Show("Error: " + ex.Message);
}
}