private void ExecuteAsync(GpgCommand command, Stream input, Stream output, AsyncResult result) { try { Execute(command, input, output); result.Complete(); } catch(Exception ex) { result.Throw(ex); } }