Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage check fails if HDD size is in TB #2

Open
torum opened this issue Jul 1, 2021 · 0 comments
Open

Storage check fails if HDD size is in TB #2

torum opened this issue Jul 1, 2021 · 0 comments

Comments

@torum
Copy link

torum commented Jul 1, 2021

Hello! Thank you for your nice tool.

My system has 1.8 TB of hard disk.

In the Form1.cs, GetTotalFreeSpace(systemdrive) returns something like 1986661847040, and FormatBytes(systemfreespace) returns 1.8.

So,
if (systemspacedouble >= 64)
fails for TB. I think...

PS. I posted the same thing to "ReadySunValley" repo a few hours ago, but I soon realized that it was pretty much a copy of your source code. I'm sorry for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant