public void SyncGetPublicKey(out String aKey) { SyncGetPublicKeyRaumfeldComConfigService1 sync = new SyncGetPublicKeyRaumfeldComConfigService1(this); BeginGetPublicKey(sync.AsyncComplete()); sync.Wait(); sync.ReportError(); aKey = sync.Key(); }