C# 클래스 OpenVpnManagement.Manager

상속: IDisposable
파일 보기 프로젝트 열기: GildedHonour/OpenVpnManagement

공개 메소드들

메소드 설명
Dispose ( ) : void
GetEcho ( ) : string
GetHelp ( ) : string
GetLog ( int n = 1 ) : string
GetLogAll ( ) : string
GetNet ( ) : string
GetPid ( ) : string
GetState ( ) : string
GetState ( int n = 1 ) : string
GetStateAll ( ) : string
GetStateOff ( ) : string
GetStatus ( ) : string
GetVersion ( ) : string
Kill ( string name ) : string
Kill ( string host, int port ) : string
Manager ( string host, int port, string ovpnFileName, string userName = null, string password = null, string openVpnExeFileName = @"C:\Program Files\OpenVPN\bin\openvpn.exe" ) : System
Mute ( ) : string
SendMalCommand ( ) : string
SendSignal ( Signal sgn ) : string
SetLogOff ( ) : string
SetLogOn ( ) : string
SetLogOnAll ( ) : string
SetStateOn ( ) : string
SetStateOnAll ( ) : string

비공개 메소드들

메소드 설명
RunOpenVpnProcess ( ) : void
SendCommand ( String cmd ) : string
SendGreeting ( ) : void
TreamRetrievedString ( string s ) : string

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetEcho() 공개 메소드

public GetEcho ( ) : string
리턴 string

GetHelp() 공개 메소드

public GetHelp ( ) : string
리턴 string

GetLog() 공개 메소드

public GetLog ( int n = 1 ) : string
n int
리턴 string

GetLogAll() 공개 메소드

public GetLogAll ( ) : string
리턴 string

GetNet() 공개 메소드

public GetNet ( ) : string
리턴 string

GetPid() 공개 메소드

public GetPid ( ) : string
리턴 string

GetState() 공개 메소드

public GetState ( ) : string
리턴 string

GetState() 공개 메소드

public GetState ( int n = 1 ) : string
n int
리턴 string

GetStateAll() 공개 메소드

public GetStateAll ( ) : string
리턴 string

GetStateOff() 공개 메소드

public GetStateOff ( ) : string
리턴 string

GetStatus() 공개 메소드

public GetStatus ( ) : string
리턴 string

GetVersion() 공개 메소드

public GetVersion ( ) : string
리턴 string

Kill() 공개 메소드

public Kill ( string name ) : string
name string
리턴 string

Kill() 공개 메소드

public Kill ( string host, int port ) : string
host string
port int
리턴 string

Manager() 공개 메소드

public Manager ( string host, int port, string ovpnFileName, string userName = null, string password = null, string openVpnExeFileName = @"C:\Program Files\OpenVPN\bin\openvpn.exe" ) : System
host string
port int
ovpnFileName string
userName string
password string
openVpnExeFileName string
리턴 System

Mute() 공개 메소드

public Mute ( ) : string
리턴 string

SendMalCommand() 공개 메소드

public SendMalCommand ( ) : string
리턴 string

SendSignal() 공개 메소드

public SendSignal ( Signal sgn ) : string
sgn Signal
리턴 string

SetLogOff() 공개 메소드

public SetLogOff ( ) : string
리턴 string

SetLogOn() 공개 메소드

public SetLogOn ( ) : string
리턴 string

SetLogOnAll() 공개 메소드

public SetLogOnAll ( ) : string
리턴 string

SetStateOn() 공개 메소드

public SetStateOn ( ) : string
리턴 string

SetStateOnAll() 공개 메소드

public SetStateOnAll ( ) : string
리턴 string