开发者

How to find if a file is fragmented or not?

开发者 https://www.devze.com 2023-01-29 23:04 出处:网络
I am w开发者_如何学Criting a piece of code in c#. I am looking for a way to find if a particular file on a volume is fragmented or not.

I am w开发者_如何学Criting a piece of code in c#. I am looking for a way to find if a particular file on a volume is fragmented or not. i am not concerned with finding number of fragments of the file, but just only whether it is fragmented or not.

Thanks.


This blog post has a c# implimentation of the Defrag API for Windows:

http://blogs.msdn.com/b/jeffrey_wall/archive/2004/09/13/229137.aspx

It might be a good starting point.

0

精彩评论

暂无评论...
验证码 换一张
取 消