Sample code for 30+ languages & platforms
C#

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls.

Chilkat C# Downloads

C#
bool success = false;

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

// ...
// ...

// ------------------------------------------------------------------------
// The GetUidls method is deprecated:

Chilkat.StringArray sa = mailman.GetUidls();
if (mailman.LastMethodSuccess == false) {
    Debug.WriteLine(mailman.LastErrorText);
    return;
}

// ...
// ...

// ------------------------------------------------------------------------
// Do the equivalent using FetchUidls.
// Your application creates a new, empty StringTable object which is passed 
// in the last argument and filled upon success.

Chilkat.StringTable st = new Chilkat.StringTable();
success = mailman.FetchUidls(st);
if (success == false) {
    Debug.WriteLine(mailman.LastErrorText);
    return;
}