public int InheritsFrom_(string strAncestor) { if (this.pWbemClassObject == IntPtr.Zero) { throw new ObjectDisposedException(name); } int num = WmiNetUtilsHelper.InheritsFrom_f(0x12, this.pWbemClassObject, strAncestor); GC.KeepAlive(this); return(num); }
public int InheritsFrom_(string strAncestor) { if (this.pWbemClassObject != IntPtr.Zero) { int num = WmiNetUtilsHelper.InheritsFrom_f(18, this.pWbemClassObject, strAncestor); GC.KeepAlive(this); return(num); } else { throw new ObjectDisposedException(IWbemClassObjectFreeThreaded.name); } }