public int GetPropertyOrigin_(string wszName, out string pstrClassName) { if (this.pWbemClassObject == IntPtr.Zero) { throw new ObjectDisposedException(name); } int num = WmiNetUtilsHelper.GetPropertyOrigin_f(0x11, this.pWbemClassObject, wszName, out pstrClassName); GC.KeepAlive(this); return(num); }
public int GetPropertyOrigin_(string wszName, out string pstrClassName) { if (this.pWbemClassObject != IntPtr.Zero) { int num = WmiNetUtilsHelper.GetPropertyOrigin_f(17, this.pWbemClassObject, wszName, out pstrClassName); GC.KeepAlive(this); return(num); } else { throw new ObjectDisposedException(IWbemClassObjectFreeThreaded.name); } }