C# Class OpenVpn.OpenVpnService

Inheritance: System.ServiceProcess.ServiceBase
Mostra file Open project: xkjyeah/openvpnserv2

Public Properties

Property Type Description
DefaultServiceName string

Public Methods

Method Description
Main ( string args ) : int
OpenVpnService ( ) : System

Protected Methods

Method Description
OnStart ( string args ) : void
OnStop ( ) : void

Private Methods

Method Description
GetPriorityClass ( string priorityString ) : System.Diagnostics.ProcessPriorityClass
GetRegistrySubkey ( RegistryView rView ) : RegistryKey

Method Details

Main() public static method

public static Main ( string args ) : int
args string
return int

OnStart() protected method

protected OnStart ( string args ) : void
args string
return void

OnStop() protected method

protected OnStop ( ) : void
return void

OpenVpnService() public method

public OpenVpnService ( ) : System
return System

Property Details

DefaultServiceName public_oe static_oe property

public static string DefaultServiceName
return string