using Microsoft.VisualBasic.Devices;
        Microsoft.VisualBasic.Devices.Computer mycomputer = new Computer();
        try
        {
            Literal2.Text = mycomputer.FileSystem.ReadAllText("D:\\WWW\\Allocation.txt");
        }
        catch (Exception ex)
        {
            Literal2.Text = ex.Message;
        }
沒有留言:
張貼留言