kmarsh

AFSDK and PIAuthenticationOptions

Discussion created by kmarsh on Jun 18, 2013
Latest reply on Jun 27, 2013 by mhamel

If you are trying to use AFSDK to get trusted by a PI server, you might need this bit of code as an example.  I know I sure did.

 

List<PIAuthenticationOption> lOptions = new List<PIAuthenticationOption>();

 

lOptions.Add(PIAuthenticationOption.Trust);

 

PIServers.AuthenticationOptions = lOptions;

 

 

Outcomes