public static AvailableNetworkSessionCollection EndFind(IAsyncResult result) { AvailableNetworkSessionCollection availableSessions = null; try { availableSessions = AsyncFindCaller.EndInvoke(result); } catch { throw; } finally { AsyncFindCaller = null; } return(availableSessions); }