FastbootFormFastbootCommand Method (String, String) AndroidLib - Beatsleigher Edition
Forms a FastbootCommand that is passed to Fastboot.ExecuteFastbootCommand()

Namespace: RegawMOD.Android
Assembly: AndroidLib (in AndroidLib.dll) Version: 1.5.2.0 (1.5.2.0)
Syntax

public static FastbootCommand FormFastbootCommand(
	string command,
	params string[] args
)

Parameters

command
Type: SystemString
The fastboot command to run
args
Type: SystemString
Any arguments that need to be sent to command

Return Value

Type: FastbootCommand
FastbootCommand that contains formatted command information
Remarks

Should be used only for non device-specific fastboot commands such as fastboot devices or fastboot version
Examples

This example demonstrates how to create a non device-specific FastbootCommand
//This example shows how to create a non device-specific FastbootCommand
            //This demonstarates the fastboot command "fastboot devices"
            //Notice how you do not include the "fastboot" executable in the method, as the method takes care of it internally

            FastbootCommand fbCmd = Fastboot.FormFastbootCommand("devices");
See Also

Reference