troubleshooting Question

get size of pendrive physical

Avatar of johnnyex
johnnyex asked on
ProgrammingDelphiMicrosoft Development
8 Comments1 Solution942 ViewsLast Modified:
I need routine/function delphi which will check disk size physical.
I not mean volume size but physical.

There is Volume size dependable on formatting options.
And there is physical disk size not matter if drive 8gb will be formatted to 2gb.

I need to get know real drive size in bytes.

Similar info present program called USB image tool.

Disksize() function is not able to get this information sice it checks for volume logical size only.

Please advice
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros