C# 클래스 SharpAdbClient.AdbServer

Provides methods for interacting with the adb server. The adb server must be running for the rest of the Managed.Adb library to work.

The adb server is a background process that runs on the host machine. Its purpose if to sense the USB ports to know when devices are attached/removed, as well as when emulator instances start/stop. The ADB server is really one giant multiplexing loop whose purpose is to orchestrate the exchange of data between clients and devices.

파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RequiredAdbVersion System.Version

공개 메소드들

메소드 설명
AdbServer ( ) : Mono.Unix

Initializes a new instance of the AdbServer class.

AdbServer ( EndPoint endPoint ) : Mono.Unix

Initializes a new instance of the AdbServer class, and the specific EndPoint at which the server should be listening.

GetStatus ( ) : AdbServerStatus
RestartServer ( ) : void
StartServer ( string adbPath, bool restartServerIfNewer ) : StartServerResult

메소드 상세

AdbServer() 공개 메소드

Initializes a new instance of the AdbServer class.
public AdbServer ( ) : Mono.Unix
리턴 Mono.Unix

AdbServer() 공개 메소드

Initializes a new instance of the AdbServer class, and the specific EndPoint at which the server should be listening.
public AdbServer ( EndPoint endPoint ) : Mono.Unix
endPoint System.Net.EndPoint /// The at which the server should be listening. ///
리턴 Mono.Unix

GetStatus() 공개 메소드

public GetStatus ( ) : AdbServerStatus
리턴 AdbServerStatus

RestartServer() 공개 메소드

public RestartServer ( ) : void
리턴 void

StartServer() 공개 메소드

public StartServer ( string adbPath, bool restartServerIfNewer ) : StartServerResult
adbPath string
restartServerIfNewer bool
리턴 StartServerResult

프로퍼티 상세

RequiredAdbVersion 공개적으로 정적으로 프로퍼티

The minum version of adb.exe that is supported by this library.
public static Version,System RequiredAdbVersion
리턴 System.Version