Hi peeps,

Today at work I had an issue with a shared drive on the network which has a quota. So I was wondering how to know if the allowed space is already full or not.

According to my readings on Google, there are only two methods that works for a network drive: WMI or Kernel32 DLL.

Not being a big fan of WMI, I used the Kernel32 here.

And now you can use it like this:

Happy coding!  🙂