In Windows, it would be easier to interact with Oracle by way of the
service... (I've not tried it myself, but this should work fine for a
service installed on the same machine as the .net application:
using System.ServiceProcess;
ServiceController controller = new ServiceController();
controller.MachineName = ".";
controller.ServiceName = "OracleServiceORCL";
string status = controller.Status.ToString();
// Stop the service
controller.Stop();
// Start the service
controller.Start();