Results 1 to 11 of 11
- 01-10-2012, 07:19 AM #1
Member
- Join Date
- Jan 2012
- Posts
- 6
- Rep Power
- 0
Get unique Manufacturing Id of Usb Drive
I am working in a company in java platform. I want to read the unique manufacturing id of
any usb drive through java code for windows,linux and mac O.S . But I cannot able to do this.
Can any one help regarding this topic ?
thanking you.Last edited by arijit158; 01-10-2012 at 07:24 AM.
- 01-10-2012, 09:29 PM #2
Re: Get unique Manufacturing Id of Usb Drive
Java does not have access to host hardware without special JVM plugins which would be platform specific. You might be able to write some native code or shell scripts that java could call, but java has no hardware access directly, only what is provided to it via the JVM.
- 01-11-2012, 04:59 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: Get unique Manufacturing Id of Usb Drive
Native code is the my suggestion. Then you life is so easy in future changes/improvements.
- 01-11-2012, 07:51 AM #4
Member
- Join Date
- Jan 2012
- Posts
- 6
- Rep Power
- 0
Re: Get unique Manufacturing Id of Usb Drive
Thanks for your response.Can you post some native code or shell scripts that java could call
to read unique manufacturing id of usb drive.
Thank you.
- 01-11-2012, 08:45 AM #5
Re: Get unique Manufacturing Id of Usb Drive
1. This is a forum, not a code factory.
2. Details of native code or scripts are outside the scope of this forum, which is for Java.
Did you try searching the net? at best, you may find something ready made that you can use, but at least you will be able to find an appropriate forum for seeking help.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 01-12-2012, 03:48 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: Get unique Manufacturing Id of Usb Drive
- 01-13-2012, 10:39 AM #7
Member
- Join Date
- Jan 2012
- Posts
- 6
- Rep Power
- 0
Re: Get unique Manufacturing Id of Usb Drive
ok.Can you guide me by which i can block a pen drive from being browsing from outside my software? I mainly want that no one can copy my software folder to other usb drive.I want to make the software specific to a perticular usb drive which will run only in the specific usb drive.
- 01-16-2012, 03:27 AM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: Get unique Manufacturing Id of Usb Drive
Even with a native approach I don't think it is quite easy job to do. Once a USB flash connect to the PC on explorer bar on Explorer you can browse it easily. All what you have to do is lock it through another application.
- 01-16-2012, 03:27 AM #9
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Re: Get unique Manufacturing Id of Usb Drive
Search the web for file/folder locking. Do some experiments before going further.
- 02-01-2012, 03:31 PM #10
Member
- Join Date
- Jan 2012
- Posts
- 6
- Rep Power
- 0
Re: Get unique Manufacturing Id of Usb Drive
I had made a dll in C# to retrieve unique manufacturing id of usb drive. It works in .net
platform . But now I want to use this dll in java application to retrieve unique manufacturing id . How it is possible to get the class of dll in java?
thank you
- 02-01-2012, 04:57 PM #11
Similar Threads
-
Manufacturing Software
By neoinfosolutions in forum Reviews / AdvertisingReplies: 3Last Post: 08-05-2011, 03:09 PM -
How to get unique rows from a table
By Jdevelop in forum New To JavaReplies: 1Last Post: 06-15-2011, 12:08 PM -
Unique personal number
By Lidiya in forum Advanced JavaReplies: 9Last Post: 12-27-2010, 12:13 PM -
Encrypting unique columns
By andy16 in forum JDBCReplies: 0Last Post: 05-26-2010, 07:57 PM -
Best way to format a drive/thumb drive in java...
By vandyke in forum Advanced JavaReplies: 1Last Post: 12-09-2009, 01:32 AM


2Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks