Win32 classes pt2

Posted on 2006-03-21
Last Modified: 2010-04-17
I'd like to find the class that would allow me to obtain the serial number/asset information from an external disk cabinet
Question by:sirbounty
    LVL 11

    Accepted Solution

    Let me suggest the ultimate tool to navigate WMI Classes:

    Download "WMI Administrative Tools" and use WMI CIM Studio to look for the classes. You can use the search tool to find any class you like, create and manage instances so you can see if the information provided is what you were looking for. You can also download scriptomatic which create sample scripts for you. Both from Microsoft.
    LVL 67

    Author Comment

    Nice tool - but I've been unable to find what I'm looking for...
    I'd be satisfied if I could at least get information off of an external tape library.  I found the tapedrive class, which gives me the installed drive info, but not info on the changer unit.
    LVL 11

    Expert Comment

    by:Renato Montenegro Rustice
    May be you will get it by calling Win32 API. I will check MSDN. If I found something, i will post.
    LVL 11

    Expert Comment

    by:Renato Montenegro Rustice

    I found the following Win32 API:

    GetTapeParameters -

    And this docs will lead you to another point of view:

    I think tape drivers are not handled as regular drives, so there are sets of APIs to control these devices.

    Its possible that you'll have to build some DLL/COM Object to gain access to this function via Windows Script. But you can call it directly from VB.

    Best regards.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Suggested Solutions

    This article is filled with multiple code samples and explanations for mathematical calculations. They are as follows: 1. General tips 2. Quadratic formula 3. Object collision 4. Projectile path General Tips       Here are some of my tips f…
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now