Method | Description | |
---|---|---|
ExecuteShellCommand ( this device, string command, IShellOutputReceiver receiver ) : void |
Executes a shell command on the device.
|
|
GetEnvironmentVariables ( this device ) : string>.Dictionary |
Gets the environment variables currently defined on a device.
|
|
GetPackageVersion ( this device, string packageName ) : SharpAdbClient.DeviceCommands.VersionInfo |
Requests the version information from the device.
|
|
GetProperties ( this device ) : string>.Dictionary |
Gets the properties of a device.
|
|
ListProcesses ( this device ) : IEnumerable |
Lists all processes running on the device.
|
|
Stat ( this device, string path ) : FileStatistics |
Gets the file statistics of a given file.
|
|
UninstallPackage ( this device, string packageName ) : void |
Uninstalls a package from the device.
|
public static ExecuteShellCommand ( this device, string command, IShellOutputReceiver receiver ) : void | ||
device | this | /// The device on which to run the command. /// |
command | string | /// The command to execute. /// |
receiver | IShellOutputReceiver |
/// Optionally, a |
return | void |
public static GetEnvironmentVariables ( this device ) : string>.Dictionary |
||
device | this | /// The device for which to list the environment variables. /// |
return | string>.Dictionary |
public static GetPackageVersion ( this device, string packageName ) : SharpAdbClient.DeviceCommands.VersionInfo | ||
device | this | /// The device on which to uninstall the package. /// |
packageName | string | /// The name of the package from which to get the application version. /// |
return | SharpAdbClient.DeviceCommands.VersionInfo |
public static GetProperties ( this device ) : string>.Dictionary |
||
device | this | /// The device for which to list the properties. /// |
return | string>.Dictionary |
public static ListProcesses ( this device ) : IEnumerable |
||
device | this | /// The device on which to list the processes that are running. /// |
return | IEnumerable |
public static Stat ( this device, string path ) : FileStatistics | ||
device | this | /// The device on which to look for the file. /// |
path | string | /// The path to the file. /// |
return | FileStatistics |
public static UninstallPackage ( this device, string packageName ) : void | ||
device | this | /// The device on which to uninstall the package. /// |
packageName | string | /// The name of the package to uninstall. /// |
return | void |