Method | Description | |
---|---|---|
AdbSocket ( |
Initializes a new instance of the AdbSocket class.
|
|
AdbSocket ( ITcpSocket socket ) : Exceptions |
Initializes a new instance of the AdbSocket class.
|
|
Close ( ) : void | ||
Dispose ( ) : void |
Releases all resources used by the current instance of the AdbSocket class.
|
|
GetShellStream ( ) : Stream | ||
IsOkay ( byte reply ) : bool |
Determines whether the specified reply is okay.
|
|
Read ( byte data ) : void | ||
Read ( byte data, int length ) : void | ||
ReadAdbResponse ( ) : SharpAdbClient.AdbResponse | ||
ReadString ( ) : string | ||
ReadSyncLength ( ) : int | ||
ReadSyncResponse ( ) : SyncCommand | ||
ReadSyncString ( int length ) : string | ||
Reconnect ( ) : void | ||
Send ( byte data, int length ) : void | ||
SendAdbRequest ( string request ) : void | ||
SendSyncRequest ( SyncCommand command, int length ) : void | ||
SendSyncRequest ( SyncCommand command, string path ) : void | ||
SendSyncRequest ( SyncCommand command, string path, int permissions ) : void |
Method | Description | |
---|---|---|
ReadAdbResponseInner ( ) : SharpAdbClient.AdbResponse |
Reads the response from ADB after a command.
|
|
ReplyToString ( byte reply ) : string |
Converts an ADB reply to a string.
|
|
Write ( byte data ) : bool |
Write until all data in "data" is written or the connection fails or times out. This uses the default time out value. |
public AdbSocket ( |
||
endPoint |
/// The |
|
return | Exceptions |
public AdbSocket ( ITcpSocket socket ) : Exceptions | ||
socket | ITcpSocket |
/// The |
return | Exceptions |
public static IsOkay ( byte reply ) : bool | ||
reply | byte | The reply. |
return | bool |
public ReadAdbResponse ( ) : SharpAdbClient.AdbResponse | ||
return | SharpAdbClient.AdbResponse |
protected ReadAdbResponseInner ( ) : SharpAdbClient.AdbResponse | ||
return | SharpAdbClient.AdbResponse |
public ReadSyncString ( int length ) : string | ||
length | int | |
return | string |
protected ReplyToString ( byte reply ) : string | ||
reply | byte |
/// A |
return | string |
public SendAdbRequest ( string request ) : void | ||
request | string | |
return | void |
public SendSyncRequest ( SyncCommand command, int length ) : void | ||
command | SyncCommand | |
length | int | |
return | void |
public SendSyncRequest ( SyncCommand command, string path ) : void | ||
command | SyncCommand | |
path | string | |
return | void |
public SendSyncRequest ( SyncCommand command, string path, int permissions ) : void | ||
command | SyncCommand | |
path | string | |
permissions | int | |
return | void |
protected Write ( byte data ) : bool | ||
data | byte | The data to send. |
return | bool |