Click here to Skip to main content
15,885,365 members
Articles / Programming Languages / C#

A PC Audit Application in C#

Rate me:
Please Sign up or sign in to vote.
4.29/5 (13 votes)
27 Feb 20073 min read 155.1K   6.9K   95  
A basic PC audit developed in C#.
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
    }

    public Int64 cleanSize(object size)
    {
        int foo = size.ToString().Length;
        if (foo != 0)
            return (Convert.ToInt64(size) / 1048576);
        else
            return (0);
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
I am Network Engineer by day and software geek by night time. I started into the software world by teaching myself basica on the old family Tandy 1000 and I've been moving up in the world ever since. I've started a computer science major at Michigan Tech University, and will eventually finish it up.

Comments and Discussions