3 Replies Latest reply on Jan 22, 2013 6:43 AM by eignert

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

    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