Sample code for 30+ languages & platforms
C#

Transition from MailMan.LastJsonData to MailMan.GetLastJsonData

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat C# Downloads

C#
Chilkat.MailMan mailman = new Chilkat.MailMan();

//  ...
//  ...

//  ------------------------------------------------------------------------
//  The LastJsonData method is deprecated:

Chilkat.JsonObject jsonObj = mailman.LastJsonData();
if (mailman.LastMethodSuccess == false) {
    Debug.WriteLine(mailman.LastErrorText);
    return;
}

//  ...
//  ...

//  ------------------------------------------------------------------------
//  Do the equivalent using GetLastJsonData.
//  Your application creates a new, empty JsonObject object which is passed 
//  in the last argument.

Chilkat.JsonObject jsonOut = new Chilkat.JsonObject();
mailman.GetLastJsonData(jsonOut);