Here is sample code.
Code: Select all
_client = new SmppClient
{
ResponseTimeout = TimeSpan.FromSeconds(60),
EnquireLinkInterval = TimeSpan.FromSeconds(20),
SendBufferSize = 10240
};
Here is exception which I am getting.
A first chance exception of type 'System.NullReferenceException' occurred in Inetlab.SMPP.dll
Additional information: Object reference not set to an instance of an object.