Cosmos/source/FrodeTest/Application/reboot.cs
Scalpel_cp a96c1729e5 Plugged String.LastIndexOf.
Added parameter checking for Directory.GetDirectories and Directory.GetFiles plugs.
Lots of changes to FrodeTest.
2008-07-30 22:56:59 +00:00

31 lines
598 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FrodeTest.Application
{
class reboot : IConsoleApplication
{
#region IConsoleApplication Members
public int Execute(string[] args)
{
Cosmos.Sys.Deboot.Reboot();
return 0;
}
public string CommandName
{
get { return "reboot"; }
}
public string Description
{
get { return "Restarts the computer."; }
}
#endregion
}
}