The following examples illustrate license deactivation using COM API.

C# deactivation

using iSpring;
using System;

namespace deactivateSampleCSharp
{
    class Program
    {
        static void Main(string[] args)
        {
            IPresentationConverter converter = new PresentationConverter();
            ILicenseManager licenseManager = converter.LicenseManager;
            try
            {
                licenseManager.DeactivateLicense();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
            Console.WriteLine("License is " + (licenseManager.LicenseIsActivated ? "" : "not ") + "activated.");
        }
    }
}
C#

You'll need to have an Internet connection when calling DeactivateLicense().