Click here to Skip to main content
15,889,403 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i am trying to develop a windows form application in c#. i have installed managed adb package in c# and have started executing the adb.exe from c# using madb but i dont know how to execute adb pull command from c#. looking forward to your help.
Posted

1 solution

You can make use of Process class. You can provide filename as adb and provide command details in StartInfo property.
C#
Process process = new Process();
process.StartInfo = new ProcessStartInfo();
process.StartInfo.FileName = "adb";
process.StartInfo.Arguments = "command details here";
process.StartInfo.CreateNoWindow = true;
process.Start();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900