Multimobile Development: Building Applications for any Smartphone
System.Management.ManagementObjectCollection Class
Information   Base Types   Related Resources

Represents different collections of WMI instances (namespaces, scopes, and query watcher).

  • Namespace: System.Management
  • Assembly: System.Management.dll

  • System.Object
    System.IDisposable
    System.Collections.IEnumerable
    System.Collections.ICollection
  • View this type on MSDN
  • Search for this type on MSDN using MSDN's own search engine
  • Google for this type - all Web
  • Google for this type - MSDN only
    Articles (6)Discussions (233)MembersRotor
    Discussions

    Page: 12345678910
    CD Rom used,free and capacity (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Hello, I am trying to get the used space, the free space and the capacity from a CD Rom Drive, call it drive D: I would like EXACTLY what windows explorer gives you when you right click on the CD Rom drive properties with a CD inserted. I have tried WMI with System.Management.ObjectQuery oQuery new System.Management.ObjectQuery("select * from Win32 LogicalDisk WHERE DriveType 5"); ManagementObject...
    CDROM path (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    I am calling an ASP .NET page through the Web, save it locally and then burn it on a CD. How can I determine the path of the CDROM in which the page resides since each user may have a different drive letter? Thanks
    Changing Printers in Visual Basic (VIP replies)
    microsoft.public.dotnet.languages.vb
    I am looking for a way to change an individuals (users) default printer to another printer. Print a file and then reset back to the users original printer. Any suggestions?
    Delete/cancel all print jobs (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi all, How can I delete or cancel all the jobs on a printer?? Printer.KillDoc only deletes the current document being printed. And this may be a dumb question to ask... I suspect that I can somehow use the EnumJobs to cancel each job one by one but I don't really understand how to work with printer handle and the printer object? Thanks in advance for any suggestions or pointers.
    Detecting CPU speed (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi all. How can I detect CPU speed (in MHz) with .NET (VB or C#)? There are some DLLs or registry tricks, but is there a way detecting it using dotNet's abilities or windows API? thnx in advance.
    Enumerating network adapters (VIP replies)
    microsoft.public.dotnet.framework
    I would like to be able to enumerate network adapters and their configuration. Can somebody point out the appropriate object(s) in the dotnet framework for doing this? Thanks very much.
    EnumPrinters gives system.nullreferencedexception (VIP replies)
    microsoft.public.dotnet.languages.vb
    I use the following code and can get all the correct printer information back for Printer Info 1. However, when I try the same code for Printer Info 2 or 5 I get a System.NullReferenceException. Can someone please help DllImport("winspool.drv", EntryPoint: "EnumPrintersA", SetLastError: True, CharSet: CharSet.Unicode) Private Shared Function EnumPrinters(ByVal flags As Int32, ByVal pName As String...
    Event/Notification when a USB device plugged in (VIP replies)
    microsoft.public.dotnet.languages.vb
    Is there an event or notification that my application can receive when a USB device (or other) is plugged in? I have looked at WMI as this appears to be the right area but cannot see how to get notification when this particular event occurs. The same goes for removal as well. TIA Charles
    Get a process's user name (VIP replies)
    microsoft.public.dotnet.framework
    The Windows Task Manager, under the Processes tab, lists the user name next to each process. Is there a way to programmatically get the user name of a process? I am refining my application to work on Terminal Server and only want to retrieve the processes running within the user session, rather than all processes running on the machine. I am using the System.Diagnostics.Process class. I can use Sy...
    Get HDD serial number (VIP replies)
    microsoft.public.dotnet.general
    How do i get the serial number of an harddisk? thanks, Gonçalo Boléo Kaid4 Informática Portugal
    Get HDD serial number (VIP replies)
    microsoft.public.dotnet.languages.vb
    How do i get the serial number of an harddisk? thanks, Gonçalo Boléo Kaid4 Informática Portugal
    Get Remote MAC ? (VIP replies)
    microsoft.public.dotnet.framework.aspnet
    How can I obtain the MAC address of a remote web client? I can check the Server Variables for the IP number, but want to derive the MAC from it. I am not worried that it may be the MAC of the web client's firewall, I still want the MAC just like I could get with ARP at a command prompt. Thanks.
    get volume serial number (VIP replies)
    microsoft.public.dotnet.framework.aspnet.buildingcontrols
    can anyone help me get this working for asp.net server control using vb ? doesn't compile, error on "disk.Properties" and "response.write" command line vbc /t:library /out:volume.dll /r:System.web.dll /r:System.dll /r:System.Management.dll /r:System.Web.dll *.vb pause code Imports System Imports System.Management Imports System.web Class Disk Public Shared Sub Main() Dim drive As String "C" Dim di...
    get volume serial number (VIP replies)
    microsoft.public.dotnet.languages.vb.controls
    can anyone help me get this working for asp.net server control using vb ? doesn't compile, error on "disk.Properties" and "response.write" command line vbc /t:library /out:volume.dll /r:System.web.dll /r:System.dll /r:System.Management.dll /r:System.Web.dll *.vb pause code Imports System Imports System.Management Imports System.web Class Disk Public Shared Sub Main() Dim drive As String "C" Dim di...
    Harddrive or Motherboard Serial number (VIP replies)
    microsoft.public.dotnet.languages.vb
    I have been trying to write a code that will enable me get the serial number of the motherboard or harddrive on a given system but no luck so far. Can any one out there help me.
    Having issues with setjob api (VIP replies)
    microsoft.public.dotnet.languages.csharp
    Here is what I am trying to do. I have written a working program in VB6 that monitors any number of printers simultaneously(sort of). Because VB6 doesn't support multithreading I have to do this with a timers and loops which eats up CPU power and has other inefficiencies. I am slowly converting it over to C# with major revisions. Instead of using a timer or loop I am going to have a different thre...
    How can I start and stop the service? (VIP replies)
    microsoft.public.dotnet.languages.vb
    Hi EveryBody: In VB.Net how can I make windows application project that can start and stop the service manually ? Any help will be appreciated. Husam
    How do I grab the network address of a printer? (VIP replies)
    microsoft.public.dotnet.framework.windowsforms
    I want to save app specific info about printers on a network. How can I grab the network address of a printer? How can I browse a network for printers to show the user a list? Thanks.
    how to check if printer is offline/connected in vb .Net (VIP replies)
    microsoft.public.dotnet.languages.vb
    (Type your message here) i am new to vb.net. i am developing one application using it.i need to know the printer status before sending anything to the printer. i am using an icon in the status bar for this one.i want to display the status message when i click on the icon.if anybody know the solution for this one please help me.it's very urgent From: Reshmi nair Posted by a user from .NET 247 (http...
    how to determin is the selected printer a dot-matrix (VIP replies)
    microsoft.public.vsnet.general
    I am interesting how to determin is the selected printer a dot matrix printer or is it a laser printer What property is relevant to detrmin what type is selected printer
    How to enumerate modems? (VIP replies)
    microsoft.public.dotnet.languages.vb
    I've searched MSDN, but can't find a way to list all the modems on my machine. Can anyone point me in the right direction? TIA, Mike
    how to get the MAC address by .net program if the OS is win98? (VIP replies)
    microsoft.public.dotnet.framework.sdk
    thz
    How to retrieve serial number of OS or CPU for copy protection? (VIP replies)
    microsoft.public.dotnet.framework
    In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current operating system would be appropriate. However, I do not know how to retrieve the information. Could you help? Klaus
    How to retrieve serial number of OS or CPU for copy protection? (VIP replies)
    microsoft.public.dotnet.general
    In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current operating system would be appropriate. However, I do not know how to retrieve the information. Could you help? Klaus
    How to retrieve serial number of OS or CPU for copy protection? (VIP replies)
    microsoft.public.vsnet.general
    In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current operating system would be appropriate. However, I do not know how to retrieve the information. Could you help? Klaus
    Ad
    BootFX
    Reliable and powerful .NET application framework.
    iOS, Android and Windows Phone Development Training and Consultancy
    Hosted by RackSRV Communications
     
    Multimobile Development: Building Applications for any Smartphone
    Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
    Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734