protected override void OnEndFind(IAsyncResult result) { FindAsyncResult.End(result); }
public static void End(IAsyncResult result) { FindAsyncResult thisPtr = AsyncResult.End <FindAsyncResult>(result); thisPtr.discoveryClient.Close(); }