public void FeatureExpired(SWLMLib.IFeature pFeature)
 {
     Console.WriteLine("FeatureExpired: Feature {0}", pFeature.Code);
     Marshal.ReleaseComObject(pFeature);     //Without this line COM Server object is not released!
 }
 public void FeatureAboutToExpire(SWLMLib.IFeature pFeature, int HoursRemained)
 {
     Console.WriteLine("{0} FeatureAboutToExpire: Feature {1} Hours={2}", DateTime.Now, pFeature.Code, HoursRemained);
     Marshal.ReleaseComObject(pFeature);     //WTF??? Without this line COM Server object is not released!
 }