private SampleKFClient()
        {
            client = new RightNowKnowledgePortClient();
            if(client.ClientCredentials != null) {
                client.ClientCredentials.UserName.UserName = "";
                client.ClientCredentials.UserName.Password = "";
            }

            header = new ClientInfoHeader {
                AppID = "Sample KF Client"
            };

            knowledgeInteractionId = client.StartInteraction(header, "Sample KF Client", "10.0.0.0", null, ".NET Application");
            Console.WriteLine("Created new interaction id: " + knowledgeInteractionId);
        }
        private SampleKFClient()
        {
            client = new RightNowKnowledgePortClient();
            if (client.ClientCredentials != null)
            {
                client.ClientCredentials.UserName.UserName = "";
                client.ClientCredentials.UserName.Password = "";
            }

            header = new ClientInfoHeader {
                AppID = "Sample KF Client"
            };

            knowledgeInteractionId = client.StartInteraction(header, "Sample KF Client", "10.0.0.0", null, ".NET Application");
            Console.WriteLine("Created new interaction id: " + knowledgeInteractionId);
        }
Пример #3
0
 public SampleKFClient()
 {
     _client = new RightNowKnowledgePortClient();
 }
Пример #4
0
 public SampleKFClient()
 {
     _client = new RightNowKnowledgePortClient();
 }