Help me to Get this code work
<p>What is wrong with this code? i can get correct value? DrvUsg always getting zero. please help me to get work this code.</p>

<pre><code>    Computer cmp = new Computer();
    string SysDrv = System.Environment.SystemDirectory.Substring(0, 2);
    UInt64 TotalDrv = Convert.ToUInt64(cmp.FileSystem.GetDriveInfo(SysDrv).TotalSize / 1024 / 1024);
    UInt64 FreeDrv = Convert.ToUInt64(cmp.FileSystem.GetDriveInfo(SysDrv).AvailableFreeSpace / 1024 / 1024);
    UInt64 UsedDrv = (TotalDrv - FreeDrv);
    UInt64 DrvUsg = Convert.ToUInt64((UsedDrv / TotalDrv) * 100);
    TrkDrvUsg.Value = (int)DrvUsg;
    LblDrvUsg.Text = (String.Format("System drive usage: {0}%", DrvUsg));
</code></pre>
