Removing framework-specific attributes from .NET
@@ -129,7 +129,6 @@ public bool SuppressInitialDiagnosticInformation
/// </summary>
public bool IsRunning
{
- [SecurityPermission(SecurityAction.Demand)]
get { return this.driverServiceProcess != null && !this.driverServiceProcess.HasExited; }
}
@@ -252,7 +251,6 @@ public void Dispose()
/// <summary>
/// Starts the DriverService if it is not already running.
/// </summary>
- [SecurityPermission(SecurityAction.Demand)]
public void Start()
{
if (this.driverServiceProcess != null)
@@ -355,7 +353,6 @@ protected void OnDriverProcessStarted(DriverProcessStartedEventArgs eventArgs)
/// <summary>
/// Stops the DriverService.
/// </summary>
- [SecurityPermission(SecurityAction.Demand)]
private void Stop()
{
if (this.IsRunning)
