public void Dispose()
 {
     this.Stop();
     _winPin?.Dispose();
     _winPin = null;
 }