public bool GetTargetMachineInfo(IPlugIn requestor, IContext ctx, uint fieldsRequested) { if (requestor.GetContextType() == IContextType.Hostinfo) { return GetTargetMachineInfoHostInfo(requestor, (Hostinfo)ctx, fieldsRequested); } else if (requestor.GetContextType() == IContextType.DbConninfo) { return GetTargetMachineInfoDbConnInfo(requestor, (DbConnInfo)ctx, fieldsRequested); } return false; }