Exemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     ScrcpySrvSharp.Get().OnDeviceConnected += OnDeviceConnected;
     ScrcpySrvSharp.Get().OnImageArrived    += OnImageReady;
     ScrcpySrvSharp.Get().RunServer(9090);
 }
Exemplo n.º 2
0
 void OnDeviceConnected(object sender, UsbDeviceEventArgs e)
 {
     ScrcpySrvSharp.Get().StartScrcpyServer(e);
 }