eignert

Invalid cast exception when castring PISDK-object to PISDK.IPISDKOptions interface

Discussion created by eignert on Jan 21, 2013
Latest reply on Jan 22, 2013 by eignert

Hi,

 

I need to access the "SetAuthenticationOptions"-Method from the IPISDKOptions interface.
But when I try to cast my PISDK-object to this interface (not even calling the method) I get an InvalidCastException.

 

Does anyone have a working example for this?

 

Thanks, best regards
Thomas

Outcomes