Accessing of Hard DIsk Serial Number

Dear Readers,
I develop Client Server Applications. I would like to know how we can access the hard disk from an application so that I get the Serial Number of the Hard Disk, the Floppy Disk number, CD Rom Drive Number and Network Card Number.
Please suggest.
Yours Truly,
Sarwottam

Hi!
There is now way to use 100% Java to access such things as Network Card Number etc. If you are willing to make sacrifice the platform independance, just Java Native Interface (JNI). This way you could use some C or C++ library that has access to the hardware. Note that it?s only the server that could access the hardware. . You could connect from the client to a server using a socket for sending and receiving data.
Tip: Get "Essential JNI" by Rob Gordon if you want a book on JNI. It's a little hard to read, but I believe that's the best book on the subject.
Regards
Johan

Similar Messages

  • Find Hard Disk Serial Number

    Hi,
    How do i get the Hard Disk Serial Number or Hard Disk volume Serial number or complete
    system information using java programme?
    Balan V

    http://forum.java.sun.com/thread.jsp?forum=31&thread=52
    927which he could have found in maybe a minute using the search function...

  • How to read the hard disk serial number using java this is urgent

    Please do let me know any knows how to read the hard disk unique number provided by manufactruer using java library

    I don't know; I think the fate of the free worldrests upon the answer.
    Well, as long as the non-free world stays unharmed,
    it can't be so bad ...I think the "Axis of Evil" constitutes a group of countries that are just "misunderstood".

  • How to find Hard Disk Serial

    Hi, I have a program written using AIR for a client, and I dont want him to make millions of copies of my software, I would like to know exactly how many copies of my software he is using, so I figure, thats easy I will bound the software to the hardware, the hard disk serial.  Than one problem surfaced, how the heck do I find the hard disk serial using AS3?
    Or is there a easier way for me to keep track of the software? the clients will install the software on machines that do not have internet access.  And the amount of software is not a big number, maybe 50 copies/machines per month.
    Thanks in advance.

    Is it installed on an other system? If so you can see the serial number in the About Aperture window.
    If not ant you wiped your disk and Aperture is no longer installed there is no way to find the serial number apart from the hard copy you had when you bought it. 
    See Pro Application Replacement Serial Numbers and give Apple a call. They are pretty good at working with you to try and recover the serial number.

  • How can i access the hard disk and know the no of partitions

    sir
    i want to access the hard disk and know how many parttions the hard disk have means c,d,e,f,g or may be c,d,e? also volum no or serial no.
    but i do not know how?
    plz help me and send me a code
    thanks in advance
    if this quesstion is not related to this forum plz guide me that where i put this quesstion?

    You figure out how to do it on your OS using C/C++ code.
    Then you write a wrapper in JNI to call your C/C++ code.

  • What is a disk serial number and where can I find it on my Mac?

    I'm trying to gain access to a Software program that requires a disk serial number to generate a license. Where can I find this information?

    Apple Menu > About This Mac > More Info... > Hardware Overview.
    See if the Serial Number or the Hardware UUID satisfies their requirements. Both are unique to your Mac.

  • Is it possible to access inbuilt hard disk drive in Apple Airbook

    is it possible to access inbuilt hard disk drive in Apple Airbook

    Kamal666 wrote:
    Yes i would like to access contents, files or etc... on hard drive or inbuild flash drive, Same like Windows my computer hard drives access
    Finder Preferences > General > check "Hard Disks"

  • Sony 500GB External Hard Disk DriveModel number: HDEG5/B malfunction

    i bought my external drive last year in India and its saying external drive has malfunction, windows does not recognise it. what can i do its a Sony 500GB External Hard Disk DriveModel number: HDEG5/B malfunction

    Hello Anderson,
    You can contact our Sony storage support team via email at <[email protected]>  for further troubleshooting.
    If my post answers your question, please mark it as an "Accepted Solution."

  • Reading Hard Disk Serial No.

    How can I read hard disk serial# from oracle forms?..I need it to implement security on login system...so that system could'nt be run on any other system.

    Kashif,
    If you had searched the forum then the first searched result would have solved your worries
    i made a sample form and posted it on OTN last month
    please follow this link and download the smaple form
    Hard Disk Serial No. Retrieval Example!!
    If you have problems using the sample form then follow these steps to make your own
    follow these steps...
    Make a new form, new block, new canvas...
    go to layout editor of the canvas
    Now:
    - Create an ActiveX Control Item (OCX) on your canvas.
    - Right click it and select 'Insert Object...'.
    - A list will come
    - Press 'H' on keyboard
    - It will come to a selection "HardwareInfo Control'
    - select it and then press ok!.
    - In the main Form biulder menu 'Program', choose 'Import OLE Library Interfaces'
    - again Press 'H' on keyboard
    - and see to find out a selection in the list: "HardwareInfo.HardWareInfo.ctrl1'
    - select it and then u will see something each in Method Package(s) and the Event Package(s) lists.
    - Select both the Method Package(s) and the Event Package(s). Make sure they're highlighted.
    i.e "_dhardwareinfo and _dHardwareinfoEvents"
    - Now press OK
    - Verify the existance of 5 new programme units in your Foms Program units section in object navigator:
    i.e.
    HARDWAREINFOLib_CONSTANTS
    HARDWAREINFO_HardWareIn_EVENTS
    - Now go to layout editor again and make a new single display_item (non-db)
    - make a push button..
    copy the following code in ur wehn-buton-pres tigger, dont forget ot change the
    'your_block.your_activex_item_name' p[ortion in the following code with correct block and OCX item name
    DECLARE
    VAR oleobj;
    BEGIN
    VAR := :ITEM('your_block.your_activex_item_name').interface;
    :ur_display_item_name := HARDWAREINFO_DHardWareInfo.HardDisk1SerialNumber(VAR);
    END;
    now run the form and see what serial no it shows..
    also how maany hard disk u have on ur pc the .dll files can show upto four hard disk serial nos
    look closely this 'HardDisk1SerialNumber' of the above:
    :ur_display_item_name := HARDWAREINFO_DHardWareInfo.HardDisk1SerialNumber(VAR);
    u can see the '1' in the 'HardDisk1SerialNumber' is the no of system hard disk..u may try it by changing to HardDisk2SerialNumber, HardDisk3SerialNumber, HardDisk4SerialNumber
    regards
    Asim.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Hard drive serial number from Terminal

    Hello!
    The question - how, without opening iMac - using Terminal, can I find out, what Apple's serial number is on my Seagate hard drive?
    I have a situation with iMacs in company I'm working. After multiple hard drive failures we have found out, that most of our iMacs had defective Seagate Hard Drives, which Apple provided replacement program. The program now is expired and it's impossible to find out, whether they had hard drives, that very easily may fail or not. I contacted Apple service and got comment, that problem was with hard drives, that had 13 numbers in serial number. Hard drives with 17 numbers were OK. The discussion is about Apple serial number for Seagate hard drive, not Seagate's (take a look on red square in image).
    To my question, how can I find out, whether my hard drives have 13 or 17 symbols, I got answer, that we either have to open iMac and check it by ourselves (for ~30 iMacs it's not the greatest thing to hear) or that there is a special terminal command, which may return this number, but the guy didn't remember at the moment, which exactly.

    System Profiler is the the command line tool for a lot of system info, however think it displays the same as the GUI (AFAIK).
    man system_profiler will give you the manual…
    https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man8/system_profiler.8.html
    system_profiler -detailLevel full
    Should give you the full report as text (probably the same info as enabling the full report in the GUI), you can pipe that to a file for easier searching…
    system_profiler -detailLevel full > ~/Desktop/Report.txt
    I'm not sure that you can access that Apple specific number via the command line, I would hassle Apple some more - the serial and model number should be enough for them to tie into their databases and the tiny text above that info tells you to refer to the OEM (Apple).

  • How do I access virtual "Hard Disk 2"?

    I have created a new virtual machine. I have a initially created a Parent drive and set it as READ ONLY. In my new VM I created Hard Disk 1 as a Differencing disk that references the parent drive. I created Hard Disk 2 as a Dynamic Disk. When I launch
    the machine I only have the single virtual "C" drive available. I was expecting another drive to be available. How do I access Hard Disk 2 - or am I not understanding the purpose of the additional hard disks?

    Have you gone into Disk Manager and initialized the drive?  When you create a new VHD, it's just a blank virtual hard disk. You need to initialize, partition, and format it before it's usable in Windows.

  • Cannot access external hard disk

    I keep all my data in Segate external hard disk. Today I wanted to set up windows using Boot camp. The window installed but at the end it froze. By mistake I kept the External hard disk connected to my Macbook Pro. When I rebooted I cannot find the my external hard disk. I tried to access through Mac partiton but it displays waring.
    Saying I need to Initialize the external hard disk. That mean I will end up with erased hard disk which is not i want. Is there any option. ?
    It looks like Mac OS cant recognise the drive at all. When I open the Disk Uitiluty I can see the drive.
    Any ideas guys

    Try opening Disk Utility and try repairing the disk. It might hopefully be able to repair it. Otherwise you're probably looking at needing a tool like DiskWarrior 4…
    http://www.alsoft.com/

  • Cannot Access USB Hard Disk

    I have a USB hub connected to my airport with a printer and USB hard disk attached. I can see in manual setup in AirPort utility that both the printer and the hard disk are set up and connected. The printer prints wirelessly.
    My problem is that I cannot find the hard disk on my computer in order to take and put in files. Where is the hard disk located???

    In the Airport Utility /Disks/File Sharing make sure 'Enable file sharing' is checked. Select your choice for access (Secure Shared Disks).
    Airport Disk Utility: I have enabled 'Automatically discover AirPort Disks' as well as 'Show Airport Disks in the menu bar'. My action for the Airport is 'Connect with Password'.
    More often than not every disk I add to the hub (which is attached to the base station), shows up immediately. When it doesn't, I simply use the menu bar icon, click on the airport name and click 'OK' once the disk availability box appears. My oresent setup is to remember the password in my keychain.
    Note: since updating the firmware as well as Airport application, I have had no issues with hard drive access or, in particular, printer access.

  • Unable to access TC hard disk from PC

    I have been unable to access the TC wireless and hard disk from my PC. I have both a Mac and a PC...the Mac works fine. I'm not using the TC to access the internet I just want to use it for back up and file storage for now. The message i get from the pc when i try to access the airport disk is "could not connect to the disk. Make sure NetBIOS is enabled and try again (53)."
    I have tried to add the IP Address to my Norton software, I have even disabled Norton and that didn't help. I have tracked down the secret location of the NetBIOS and made sure it was enabled...but i get the same message.
    Anyone have any other ideas? I love the TC for MAC but i need it to work for both systems or I'm going to have to take it back! Please help!

    Ok...I stumbled onto the solution after being told by several people to have windows rebuilt and almost charged $130 from Dell Tech Support!
    While attempting to share files from my Dell to back up on my Mac in order to reformat windows...yea it was getting to that point...Windows had me run the network setup wizard. During the set up there is a "file and printer sharing" choice to make and the default is of course "turn off file and printer sharing" which is of course the key to accessing the TC.
    I did complete the setup for a new network, renaming the workgroup and making sure the other settings jived with all the TC settings I have thrashed through for nearly two weeks.
    I hope this saves someone a little time and a lot of frustration. Thanks to all the other posts about this issue, it was good to know that other people face the same type of problem and there were a million ways around it.

  • Accessing USB hard disks

    Hello
    I attached a USB hard disk to a workstation with Solaris 9/Sparc. The hard disk does not have a slice table but an x86 partition table so I just want to access the disk using /dev/rdsk/c?t?d?s2 (whole disk) or any equivalent method.
    /var/adm/messages shows the following messages:
    USB-device: storage@3, usba10_scsa2usb1 at bus address 4
    IOI USB2.0 Storage Device 0000058918D0
    usba10_scsa2usb1 is /pci@8,700000/usb@5,3/storage@3
    /pci@8,700000/usb@5,3/storage@3 (usba10_scsa2usb1) online
    sd39 at usba10_scsa2usb1: target 0 lun 0
    sd39 is /pci@8,700000/usb@5,3/storage@3/disk@0,0
    /pci@8,700000/usb@5,3/storage@3/disk@0,0 (sd39) onlineHowever a device named "/pci@8,700000/usb@5,3/storage@3/disk@0,0" does not exist, only devices named "/pci@8,700000/usb@5,3/storage@3/disk@0,0:[a..h][,raw]".
    None of these devices really exist (I get "No such device or address" if I want to access the device).
    How can I access a USB hard drive using Solaris?
    Martin

    Looking at the sources of "OpenSolaris" I found out that opening hard disks without a valid partition table is possible specifying the O_NDELAY flag. This works on Solaris 9, too.
    However I found out that my USB hard disk has a hardware problem (does not work with Windows XP) so I cannot test if reading the hard disk works.
    Martin

Maybe you are looking for

  • Can't find sn number for my installed copy

    I own Iwork 09 (family), but can't find my disk and sn number and need to install this on our new laptop. Is there a way to find the sn number in the installed software on my imac? I probably bought it at the apple store, so I'm not sure how I would

  • Which is better server side include or templates

    Hi which is better server side include or templates? i mean which will be faster in development? and also more robust? thanks in advance.

  • PC to MAC Compatibility

    I am new here but looked at a friend's macbook this weekend and am thinking of getting one. I need to make sure I can transfer over my word files, powerpoints, and pictures, I know my MP3s can easily be switched over. How does microsoft office work?

  • Macbook Pro Nvidia card sunddenly working

    Last year I opened my Macbook pro and the screen wouldn't turn on. Completely black. The computer turned on, I can hear the start up noise and the fans running with keyboard lighting up, just not the screen. So I took it into AppleCare and they came

  • Problem downloading Photoshop and Illustrator

    I'm trying to download adobe master collection cs6 trial version, but I can't do it with Photoshop and Illustrator. This is the report: Exit Code: 6 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DF015, DW063