cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
120
Views
0
Helpful
0
Replies

Trying to use PerfMon from C#, but having authorization problem

john pulley
Level 1
Level 1

I'm trying to write a C# program to use the PerfMon API.  I am having trouble with the web service authentication. I've used the test tool SoapUI to test out the Perfmon API using my login credentials with no problems.  But when I try a simple C# program I always get an exception with the message: Could not establish trust relationship for the SSL/TLS secure channel with authority '<myhost>:8443'.

I'm using the commonly recommended code to set the user name and password:

client.ClientCredentials.UserName.UserName = userName;
client.ClientCredentials.UserName.Password = password;

As anyone else run into this problem?

0 Replies 0
Review Cisco Networking for a $25 gift card