public static void Query(bool wait) { var res = Is64Bit ? NativeMethods64.Everything_QueryW(wait) : NativeMethods32.Everything_QueryW(wait); if (!res) { var err = GetLastError(); Throw(err); } }
public static bool Query(bool wait) { return(Is64Bit ? NativeMethods64.Everything_QueryW(wait) : NativeMethods32.Everything_QueryW(wait)); }