Exemplo n.º 1
0
 protected void releaseAll()
 {
     Marshal.ReleaseComObject(strge);
     strge = null;
     Marshal.ReleaseComObject(comPtr);
     comPtr = null;
     if (properties != null)
     {
         properties.Close();
         properties = null;
     }
 }
Exemplo n.º 2
0
 protected void releaseAll()
 {
     Marshal.ReleaseComObject(strge);
     strge = null;
     Marshal.ReleaseComObject(comPtr);
     comPtr = null;
     if (properties!=null)
     {
         properties.Close();
         properties = null;
     }
 }