8 Replies Latest reply: Mar 15, 2017 3:42 AM by Øystein Kolsrud RSS

    Hi I Try to connect with .NET sdk

    Jean Philippe Golay

      Hi I Try to connect with .NET sdk to a sense server and get this error (same as from a browser)

       

      "The remote certificate is invalid according to the validation procedure."

       

      Here the cod

      private void btConnectServer_Click(object sender, EventArgs e) {

                  try {

                      Uri uri = new Uri("https://qsense.jp.com:4747");

                      ILocation qsLocation = Qlik.Engine.Location.FromUri(uri); ;

                      qsLocation.AsNtlmUserViaProxy();

                     

                      IHub qsHub = qsLocation.Hub();

                      lbQsVersion.Text = qsHub.QvVersion();

                  } catch (SocketException sex) {

                      EbiUtils.MessageError(sex, "btConnectLocal_Click");

                  } catch (Exception ex) {

                      EbiUtils.MessageError(ex, "btConnectLocal_Click");

                  } finally {

                  }

              }

      e