Subject: Getting error when opening client.
- static XmppClient client;
- static void Main(string[] args)
- {
- string lic = @"sometext";
- Matrix.License.LicenseManager.SetLicense(lic);
- ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => true;
- client.Username = "334";
- client.Hostname = "voip";
- client.Password = "9999";
- client.Resource = "pbx";
- client.XmppDomain = "voip";
- client.OnError += client_OnError;
- client.OnBeforeSasl += client_OnBeforeSasl;
- client.Open();
- Console.ReadLine();
- }
OnError is hit and notifies me of a null reference exception.
StackTrace " at Matrix.Xmpp.Sasl.Processor.Digest.Step2.SupportsAuth(String qop) at Matrix.Xmpp.Sasl.Processor.Digest.Step2..ctor(Step1 step1, SaslProcessor proc) at Matrix.Xmpp.Sasl.Processor.Digest.DigestMd5Processor.Parse(Challenge ch) at Matrix.SaslHandler.XmppStreamParser_OnStreamElement(Object sender, StanzaEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at Matrix.Xml.XmppStreamParser.DoRaiseOnStreamElement(XmppXElement el)" string
Any idea what this is?