38 references to IWbemServices
System.Management (38)
System\Management\InteropClasses\WMIInterop.cs (2)
574[PreserveSig] int OpenNamespace_([In][MarshalAs(UnmanagedType.BStr)] string strNamespace, [In] int lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemServices ppWorkingNamespace, [In] IntPtr ppCallResult); 607[PreserveSig] int GetResultServices_([In] int lTimeout, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemServices ppServices);
System\Management\ManagementEventWatcher.cs (3)
485IWbemServices wbemServices = scope.GetIWbemServices(); 607private readonly IWbemServices services; 616IWbemServices services)
System\Management\ManagementObject.cs (8)
898IWbemServices wbemServices = scope.GetIWbemServices(); 1458IWbemServices wbemServices = scope.GetIWbemServices(); 1623IWbemServices wbemServices = scope.GetIWbemServices(); 1748IWbemServices wbemServices = destinationScope.GetIWbemServices(); 1887IWbemServices destWbemServices = destinationScope.GetIWbemServices(); 1951IWbemServices wbemServices = scope.GetIWbemServices(); 2022IWbemServices wbemServices = scope.GetIWbemServices(); 2615IWbemServices wbemServices = scope.GetIWbemServices();
System\Management\ManagementObjectSearcher.cs (1)
409IWbemServices wbemServices = scope.GetIWbemServices();
System\Management\ManagementScope.cs (24)
84internal delegate int BlessIWbemServices([MarshalAs(UnmanagedType.Interface)] IWbemServices pIUnknown, 139[In] [MarshalAs(UnmanagedType.Interface)] IWbemServices pCurrentNamespace, 150[In] [MarshalAs(UnmanagedType.Interface)] IWbemServices pCurrentNamespace, 162[In] [MarshalAs(UnmanagedType.Interface)] IWbemServices pCurrentNamespace, 174[In] [MarshalAs(UnmanagedType.Interface)] IWbemServices pCurrentNamespace, 185[In] [MarshalAs(UnmanagedType.Interface)] IWbemServices pCurrentNamespace, 196[In] [MarshalAs(UnmanagedType.Interface)] IWbemServices pCurrentNamespace, 218[Out][MarshalAs(UnmanagedType.Interface)] out IWbemServices ppNamespace, 429CreateInstanceEnumWmi_f = (string _, int __, IWbemContext ___, out IEnumWbemClassObject ____, int _____, int ______, IWbemServices _______, string ________, IntPtr _________, string __________) => throw new PlatformNotSupportedException(exceptionMessage); 430CreateClassEnumWmi_f = (string _, int __, IWbemContext ___, out IEnumWbemClassObject ____, int _____, int ______, IWbemServices _______, string ________, IntPtr _________, string __________) => throw new PlatformNotSupportedException(exceptionMessage); 431ExecQueryWmi_f = (string _, string __, int ___, IWbemContext ____, out IEnumWbemClassObject _____, int ______, int _______, IWbemServices ________, string _________, IntPtr __________, string ___________) => throw new PlatformNotSupportedException(exceptionMessage); 432ExecNotificationQueryWmi_f = (string _, string __, int ___, IWbemContext ____, out IEnumWbemClassObject _____, int ______, int _______, IWbemServices ________, string _________, IntPtr __________, string ___________) => throw new PlatformNotSupportedException(exceptionMessage); 436ConnectServerWmi_f = (string _, string __, IntPtr ___, string ____, int _____, string ______, IWbemContext _______, out IWbemServices ________, int _________, int __________) => throw new PlatformNotSupportedException(exceptionMessage); 486private IWbemServices wbemServices; 536internal IWbemServices GetIWbemServices() 538IWbemServices localCopy = wbemServices; 568localCopy = (IWbemServices)unknown; 602internal ManagementScope(ManagementPath path, IWbemServices wbemServices, 1026internal SecuredIWbemServicesHandler GetSecuredIWbemServicesHandler(IWbemServices pWbemServiecs) 1095internal int ConnectNSecureIWbemServices(string path, ref IWbemServices pServices) 1139private readonly IWbemServices pWbemServiecsSecurityHelper; 1141internal SecuredIWbemServicesHandler(ManagementScope theScope, IWbemServices pWbemServiecs) 1146internal int OpenNamespace_(string strNamespace, int lFlags, ref IWbemServices ppWorkingNamespace, IntPtr ppCallResult) 1409internal void Secure(IWbemServices services)